Sha256: 960e1e46ef81b2fa528f125b7c2731a67facdcd15464d7e0996842fe8dc20392

Contents?: true

Size: 920 Bytes

Versions: 5

Compression:

Stored size: 920 Bytes

Contents

/*global define*/
define(['./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.
         *
         * @constant
         * @type {Enumeration}
         */
        SHIFT : new Enumeration(0, 'SHIFT'),

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

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

    return KeyboardEventModifier;
});

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cesium-0.17.0 app/assets/javascripts/Core/KeyboardEventModifier.js
cesium-0.16.0 app/assets/javascripts/Core/KeyboardEventModifier.js
cesium-0.15.0 app/assets/javascripts/Core/KeyboardEventModifier.js
cesium-0.14.0 app/assets/javascripts/Core/KeyboardEventModifier.js
cesium-0.13.2 app/assets/javascripts/Core/KeyboardEventModifier.js