Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 569 for Pan (0.16 sec)

  1. src/cameras/2d/effects/Pan.js

     * which is invoked each frame for the duration of the effect if required.
     *
     * @class Pan
     * @memberof Phaser.Cameras.Scene2D.Effects
     * @constructor
     * @since 3.11.0
     *
     * @param {Phaser.Cameras.Scene2D.Camera} camera - The camera this effect is acting upon.
     */
    var Pan = new Class({
    
        initialize:
    
        function Pan (camera)
        {
            /**
             * The Camera this effect belongs to.
             *
    JavaScript
    - Registered: 2020-06-22 02:56
    - Last Modified: 2020-01-15 12:07
    - 9.3K bytes
    - Viewed (0)
  2. src/recognizers/pan.js

        DIRECTION_RIGHT
    } from '../inputjs/input-consts';
    import { STATE_BEGAN } from '../recognizerjs/recognizer-consts';
    import { TOUCH_ACTION_PAN_X,TOUCH_ACTION_PAN_Y } from '../touchactionjs/touchaction-Consts';
    import directionStr from '../recognizerjs/direction-str';
    
    /**
     * @private
     * Pan
     * Recognized when the pointer is down and moved in the allowed direction.
     * @constructor
     * @extends AttrRecognizer
     */
    JavaScript
    - Registered: 2020-06-22 23:14
    - Last Modified: 2016-09-30 15:06
    - 2.4K bytes
    - Viewed (0)
  3. tests/unit/gestures/test_pan.js

      });
    
    QUnit.test('`panstart` and `panmove` should be recognized', function(assert) {
        assert.expect(2);
    
        var panMoveCount = 0;
        var pan = new Hammer.Pan({ threshold: 1 });
    
        hammer.add(pan);
        hammer.on('panstart', function() {
          assert.ok(true, 'Pan start triggered');
        });
        hammer.on('panmove', function() {
          panMoveCount++;
        });
    
        utils.dispatchTouchEvent(el, 'start', 50, 50);
    JavaScript
    - Registered: 2020-06-22 23:14
    - Last Modified: 2016-09-30 15:06
    - 1.8K bytes
    - Viewed (0)
  4. web/grab_to_pan.js

     * @param options.ignoreTarget {function} optional. See `ignoreTarget(node)`
     * @param options.onActiveChanged {function(boolean)} optional. Called
     *  when grab-to-pan is (de)activated. The first argument is a boolean that
     *  shows whether grab-to-pan is activated.
     */
    function GrabToPan(options) {
      this.element = options.element;
      this.document = options.element.ownerDocument;
      if (typeof options.ignoreTarget === "function") {
    JavaScript
    - Registered: 2020-06-21 05:02
    - Last Modified: 2020-04-14 10:28
    - 7.4K bytes
    - Viewed (0)
  5. src/cameras/2d/events/PAN_START_EVENT.js

     */
    
    /**
     * The Camera Pan Start Event.
     * 
     * This event is dispatched by a Camera instance when the Pan Effect starts.
     *
     * @event Phaser.Cameras.Scene2D.Events#PAN_START
     * @since 3.3.0
     * 
     * @param {Phaser.Cameras.Scene2D.Camera} camera - The camera that the effect began on.
     * @param {Phaser.Cameras.Scene2D.Effects.Pan} effect - A reference to the effect instance.
    JavaScript
    - Registered: 2020-06-22 02:56
    - Last Modified: 2020-01-15 12:07
    - 763 bytes
    - Viewed (0)
  6. src/cameras/2d/events/PAN_COMPLETE_EVENT.js

     */
    
    /**
     * The Camera Pan Complete Event.
     * 
     * This event is dispatched by a Camera instance when the Pan Effect completes.
     *
     * @event Phaser.Cameras.Scene2D.Events#PAN_COMPLETE
     * @since 3.3.0
     * 
     * @param {Phaser.Cameras.Scene2D.Camera} camera - The camera that the effect began on.
     * @param {Phaser.Cameras.Scene2D.Effects.Pan} effect - A reference to the effect instance.
     */
    JavaScript
    - Registered: 2020-06-22 02:56
    - Last Modified: 2020-01-15 12:07
    - 596 bytes
    - Viewed (0)
  7. action/drawable-hdpi/ic_pan_tool_black_36dp.png

    ic_pan_tool_black_36dp.png...
    Image
    - Registered: 2020-06-17 19:23
    - Last Modified: 2015-11-17 03:11
    - 434 bytes
    - Viewed (0)
  8. action/drawable-hdpi/ic_pan_tool_black_48dp.png

    ic_pan_tool_black_48dp.png...
    Image
    - Registered: 2020-06-17 19:23
    - Last Modified: 2015-11-17 03:11
    - 501 bytes
    - Viewed (0)
  9. action/1x_web/ic_pan_tool_black_36dp.png

    ic_pan_tool_black_36dp.png...
    Image
    - Registered: 2020-06-24 19:23
    - Last Modified: 2015-11-17 03:11
    - 315 bytes
    - Viewed (0)
  10. action/1x_web/ic_pan_tool_black_48dp.png

    ic_pan_tool_black_48dp.png...
    Image
    - Registered: 2020-06-24 19:23
    - Last Modified: 2015-11-17 03:11
    - 340 bytes
    - Viewed (0)
Back to top