Tab extends Element
탭을 편집하는데 사용되는 API 모델입니다.
Methods
...
Methods
| Table of Contents | ||||
|---|---|---|---|---|
|
remove()
Element 자신을 제거합니다.
| Status | ||||||
|---|---|---|---|---|---|---|
|
| Code Block | ||||
|---|---|---|---|---|
| ||||
var runtab = editor.getAPIModelById('id'); runtab.remove(); |
replace(html)
- html <String> 교체할 HTML String.
Element 자신을 파라메터로 인자로 넘겨받은 HTML String으로 교체합니다.
| Code Block | ||||
|---|---|---|---|---|
| ||||
var runtab = editor.getAPIModelById('id'); runtab.replace('<p><span>Paragraph<span>Tab replaced</span></p>span>'); |