Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

사이냅에디터에서는 API를 이용한 내용 편집을 위해 APIModel을 제공하고 있습니다.

APIModel Class는 편집용 Model을 가져오는데 사용되는 get method를 제공하고 있습니다.

public get(elementOrId)

Parameters:

...

Name

...

Type

...

Description

...

elementOrId

...

  • element : 
  • ID : 

...

APIModel은 getAPIModelById, getAPIModelsgetAPIModelsBySelector 메소드를 이용해서 생성할수 있습니다.


Example:

Code Block
languagejs
themeEmacs
var tableModel = editor.APIModel.getgetAPIModelById('ID');


Children Display
depth3
styleh2
excerptTypesimple