Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atmajs/compo-aceeditor
Ace Editor Wrapper
https://github.com/atmajs/compo-aceeditor
Last synced: 6 days ago
JSON representation
Ace Editor Wrapper
- Host: GitHub
- URL: https://github.com/atmajs/compo-aceeditor
- Owner: atmajs
- Created: 2014-10-01T20:14:40.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-01T20:17:06.000Z (about 10 years ago)
- Last Synced: 2024-10-08T07:41:17.749Z (about 1 month ago)
- Language: JavaScript
- Size: 1.95 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### [Ace](http://ace.c9.io/) Component Wrapper
[![Bower version](https://badge.fury.io/bo/compo-ace.svg)](http://badge.fury.io/bo/compo-ace)
```scss
a:aceEditor;
```
### AttributesAttribute | 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
- `IncludeJS`
### Examples
- [/examples](/examples)
```bash
# install atma toolkit
npm install atma
# run server
atma server# navigate `http://localhost:5777/examples/simple.html`
```### Test
```bash
npm test
```:copyright: MIT - Atma.js Project