Пример #1
0
        public KeyboardEvent(string typeArg, KeyboardEventInit keyboardEventInitDict = null)
            : base(typeArg, keyboardEventInitDict)
        {
            if (keyboardEventInitDict == null)
            keyboardEventInitDict = new KeyboardEventInit();

            @char = keyboardEventInitDict.@char;
            key = keyboardEventInitDict.key;
            location = keyboardEventInitDict.location;
            ctrlKey = keyboardEventInitDict.ctrlKey;
            shiftKey = keyboardEventInitDict.shiftKey;
            altKey = keyboardEventInitDict.altKey;
            metaKey = keyboardEventInitDict.metaKey;
            repeat = keyboardEventInitDict.repeat;
            locale = keyboardEventInitDict.locale;
            charCode = keyboardEventInitDict.charCode;
            keyCode = keyboardEventInitDict.keyCode;
            which = keyboardEventInitDict.which;
        }
Пример #2
0
        public KeyboardEvent(string typeArg, KeyboardEventInit keyboardEventInitDict = null) : base(typeArg, keyboardEventInitDict)
        {
            if (keyboardEventInitDict == null)
            {
                keyboardEventInitDict = new KeyboardEventInit();
            }

            @char    = keyboardEventInitDict.@char;
            key      = keyboardEventInitDict.key;
            location = keyboardEventInitDict.location;
            ctrlKey  = keyboardEventInitDict.ctrlKey;
            shiftKey = keyboardEventInitDict.shiftKey;
            altKey   = keyboardEventInitDict.altKey;
            metaKey  = keyboardEventInitDict.metaKey;
            repeat   = keyboardEventInitDict.repeat;
            locale   = keyboardEventInitDict.locale;
            charCode = keyboardEventInitDict.charCode;
            keyCode  = keyboardEventInitDict.keyCode;
            which    = keyboardEventInitDict.which;
        }
Пример #3
0
 public KeyboardEvent(string type, KeyboardEventInit eventInit)
 {
 }
Пример #4
0
 public KeyboardEvent(string type, KeyboardEventInit eventInit)
 {
 }