Exemplo n.º 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;
        }
Exemplo n.º 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;
        }
Exemplo n.º 3
0
 public KeyboardEvent(string type, KeyboardEventInit eventInit)
 {
 }
Exemplo n.º 4
0
 public KeyboardEvent(string type, KeyboardEventInit eventInit)
 {
 }