이벤트
...
이름
initialized
beforeUploadImage
- afterUploadImage
beforeUploadVideo
- afterUploadVideo
beforeUploadFile
- afterUploadFile
이벤트 등록
에디터 초기화시 등록
1 | var editorId = 'synapEditor';
var editorConfig = {};
var html = '';
var eventListeners = {
'이벤트이름': function (e) {
}
};
new SynapEditor(editorId, editorConfig, html, eventListeners); |
API 사용
editor.setEventListener()
이벤트를 등록 할 때 사용하는 API입니다.
1 |
|
이벤트 해제
editor.removeEventListener()
editor.setEventListener : 등록한 이벤트를 제거 할 때 사용하는 API 입니다.
1 |
|
1. 초기화 이벤트
Status | ||
---|---|---|
|
...