Sha256: ab2f4692508e2e8482c08fe87f7893f5c3218eb16494ad5b64e4fe2c6a1b4526

Contents?: true

Size: 990 Bytes

Versions: 9

Compression:

Stored size: 990 Bytes

Contents

/*global define*/
define(['Core/Enumeration'], function(Enumeration) {
    "use strict";

    /**
     * This enumerated type is for representing keyboard modifiers. These are keys
     * that are held down in addition to other event types.
     *
     * @exports KeyboardEventModifier
     */
    var KeyboardEventModifier = {
        /**
         * Represents the shift key being held down.
         *
         * @type {Enumeration}
         * @constant
         * @default 0
         */
        SHIFT : new Enumeration(0, 'SHIFT'),

        /**
         * Represents the control key being held down.
         *
         * @type {Enumeration}
         * @constant
         * @default 1
         */
        CTRL : new Enumeration(1, 'CTRL'),

        /**
         * Represents the alt key being held down.
         *
         * @type {Enumeration}
         * @constant
         * @default 2
         */
        ALT : new Enumeration(2, 'ALT')
    };

    return KeyboardEventModifier;
});

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cesium-0.25.0 app/assets/javascripts/Core/KeyboardEventModifier.js
cesium-0.24.1 app/assets/javascripts/Core/KeyboardEventModifier.js
cesium-0.24.0 app/assets/javascripts/Core/KeyboardEventModifier.js
cesium-0.23.0 app/assets/javascripts/Core/KeyboardEventModifier.js
cesium-0.22.0 app/assets/javascripts/Core/KeyboardEventModifier.js
cesium-0.21.1 app/assets/javascripts/Core/KeyboardEventModifier.js
cesium-0.21 app/assets/javascripts/Core/KeyboardEventModifier.js
cesium-0.20.0 app/assets/javascripts/Core/KeyboardEventModifier.js
cesium-0.19.0 app/assets/javascripts/Core/KeyboardEventModifier.js