Ace Component Wrapper

Attributes
| Attribute |
Description |
x-mode |
Ace mode (default javascript) |
x-theme |
Ace theme (default monokai) |
x-live |
Define this attribute, to emit aceEditor_Changed signal on each keypress, otherwise this signal is deferred until blur event |
Signals
| Signal |
Description |
aceEditor_Changed |
(sender, text) is emitted each time text is changed |
API
-
editor #
Ace Editor instance
-
get() #
Get text
-
set(value) #
Set text
Dependencies
Examples
# install atma toolkit
npm install atma
# run server
atma server
# navigate `http://localhost:5777/examples/simple.html`
Test
©️ MIT - Atma.js Project