diff --git a/assigment.json b/assigment.json index 39a9251..52ed525 100644 --- a/assigment.json +++ b/assigment.json @@ -1,16 +1,98 @@ -[ - { - "Clipboard": { - "onCopy": "lorenm loraem lorem", - "onCut": "lorem lorem lorem", - "onPaste": "lorem lorem lorem" - } - }, - { - "Composition":{ - "onCompositionEnd": "lorem lorem lorem", - "onCompositionStart": "lorem lorem lorem", - "onCompositionUpdate": "lorem lorem lorem" - } +{ + "clipboard": { + "onCopy": "This occurs when the user starts a copy process in the browser", + "onCut": "This occurs when the user cuts the content of an element", + "onPaste": "This occur when the user paste some content in an element" + }, + "composition": { + "onCompositionEnd": "The event is used when a text composition system completes or cancels the current composition session", + "onCompositionStart": "This is used when a text composition system starts a new composition", + "onCompositionUpdate": "This is used when a new character i received in the context of a text composititon session controlled by the text composition system" + }, + "keyboard": { + "onKeyDown": "This is fired when a key is pressed", + "onKeyPress": "This is fired when a key that produces a character value is pressed down", + "onKeyUp": "This is fired when a key is released" + }, + "focus": { + "onFocus": "The event fires when anelement has received focus. It does not bubble", + "onBlur": "This event fires when an element has lost focus" + }, + "form": { + "onChange": "The event is fired for ,