Page tree
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 Next »

릴리즈 2.10.7 이상

변경된 모델이 있을 경우 렌더링을 수행합니다.


Example:

ID가 변경되지 않은 경우
var p = document.getElementById('p1');
p.innerText = '텍스트를 변경합니다.';
editor.updateContents('p1');
ID가 변경된 경우
var p1 = document.getElementById('p1');
p1.id = 'p2';
p2.innerText = '텍스트를 변경합니다.';
editor.updateContents('p1', 'p2');
  • No labels