사용자 정의 입력 액션 실행 시 발생합니다.
var editorId = 'synapEditor';
var editorConfig = {};
var html = '';
var editor = new SynapEditor(editorId, editorConfig, html);
editor.setEventListener('autoAction', function (e) {
}); |
var editorId = 'synapEditor';
var editorConfig = {};
var html = '';
function SynapEditorAutoAction(e) {
}
new SynapEditor(editorId, editorConfig, html); |
var editorId = 'synapEditor';
var editorConfig = {};
var html = '';
var eventListeners = {
autoAction: function (e) {
}
};
new SynapEditor(editorId, editorConfig, html, eventListeners); |
함수로 전달되는 파라미터 e의 형식
{
editor: SynapEditor,
eventType: 'autoAction',
name: '이벤트 명', // autoAction name
cancelable: false,
returnValue: null
} |