Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Progress extends Element

Progress를 편집하는데 사용되는 API 모델입니다.

Methods

remove()

Element 자신을 제거합니다.

모든 ELEMENT를 제거할 경우 이후의 작업에서 오류가 발생할 수 있습니다.

var progress = editor.getAPIModelById('id');
progress.remove();

replace(html)

  • html <String> 교체할 HTML String.

Element 자신을 인자로 넘겨받은 HTML String으로 교체합니다.

var progress = editor.getAPIModelById('id');
progress.replace('<span>Progress replaced</span>');
  • No labels