You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+16-1Lines changed: 16 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,4 +28,19 @@ Setup
28
28
3. codemirrorAPIUrl- Its value must be a string denoting the path of folder of codemirror like '/node_modules/codemirror'. It is used to load js file on demand.
29
29
4. disableCopy - Its value must be boolean. If you want to disable copy from editor then set this flag with true value.
30
30
5. disableCut - Its value must be boolean. If you want to disable cut from editor then set this flag with true value.
31
-
5. disablePaste - Its value must be boolean. If you want to disable paste into editor then set this flag with true value.
31
+
5. disablePaste - Its value must be boolean. If you want to disable paste into editor then set this flag with true value.
32
+
33
+
Events
34
+
------
35
+
1. [ngModel] - Its value must be string and used to add code texts into editor. It is used to implement one-way binding.
2. [(ngModel)] - Its value must be string and used to add code texts into editor and get changed text of editor. It is used to implement two-way binding which means if you change text in editor, it will reflect in binded variable.
3. (ngModelChange) - used to get contents of editor in string format. It is used to implement two-way binding which means if you change text in editor, it will reflect in binded variable.
4. (onEditorLoaded) - It notify when editor successfully loaded in both feature(default or lazyloaded) and provide an instance of currently loaded editor in paramete. It is useful when you want to get instance of editor and do some task after editor loaded.
0 commit comments