SyncEditor

The sync settings editor

onClickSave

Event: Click save. Posts the model to the modelUrl and closes

Parameters

onClickApply

Event: Click apply. Posts the model to the modelUrl

Parameters

renderEnabledSwitch

Render enabled switch

Parameters

renderUrlEditor

Renders the URL editor

Parameters

Returns

HTMLElement
Element

renderProjectNameEditor

Renders the project name editor

Parameters

Returns

HTMLElement
Element

renderTokenEditor

Renders the token editor

Parameters

Returns

HTMLElement
Element

renderField

Renders a single field

Parameters

label
String
$content
HTMLElement

Returns

HTMLElement
Editor element

renderBody

Renders the modal body

Parameters

Returns

HTMLElement
Body