Sha256: 4e17662d88bbe35f3e7b694524e7b1ccd1e1f66a645139abe8ba167d3990a6e2

Contents?: true

Size: 987 Bytes

Versions: 1

Compression:

Stored size: 987 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.
         *
         * @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

1 entries across 1 versions & 1 rubygems

Version Path
cesium-0.18.0 app/assets/javascripts/Core/KeyboardEventModifier.js