summaryrefslogtreecommitdiffstats
path: root/devtools/client/responsive.html/actions/touch-simulation.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/responsive.html/actions/touch-simulation.js')
-rw-r--r--devtools/client/responsive.html/actions/touch-simulation.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/devtools/client/responsive.html/actions/touch-simulation.js b/devtools/client/responsive.html/actions/touch-simulation.js
new file mode 100644
index 000000000..8f98101e7
--- /dev/null
+++ b/devtools/client/responsive.html/actions/touch-simulation.js
@@ -0,0 +1,22 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+/* eslint-env browser */
+
+"use strict";
+
+const {
+ CHANGE_TOUCH_SIMULATION
+} = require("./index");
+
+module.exports = {
+
+ changeTouchSimulation(enabled) {
+ return {
+ type: CHANGE_TOUCH_SIMULATION,
+ enabled,
+ };
+ },
+
+};