You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param {string} [params.joystickImage.frontPressed] - The image of a pressed button, which is an HTTP/HTTPS address. If this parameter is not specified, the default image will be used.
123
123
* @param {boolean} [params.restJoystick=true] - Whether to reset the stick after `touchend`. Default value: `true`.
124
124
*
125
-
* @example new Joystick({})
125
+
* @example
126
+
* // If import plugin from `Script tag`.
127
+
* const j = new CloudGamingPlugin.joystick({
128
+
* zone: document.querySelector('#plugin-point'),
129
+
* });
130
+
*
131
+
*
132
+
* // If import plugin from `ES module import`
133
+
* const j = new Joystick({zone: document.querySelector('#plugin-point')})
0 commit comments