Object represent template, extends [class-netobj].
autoApplyScript ⇒ String
-
Source of the script for automatic binding.
isAutoApplyEnabled ⇒ Boolean
-
Indicate if automatic binding is enabled.
isAutoRemoveEnabled ⇒ Boolean
-
Indicate if automatic unbinding is enabled.
version ⇒ Integer
-
Template version
applyTo(object) ⇒ void
-
Apply teplate on object
object |
Object |
Object this template to be applied on |
removeFrom(object) ⇒ void
-
emplate form object
object |
Object |
Object this template to be removed form |
setAutoApplyMode(enableBind, enableUnbind) ⇒ void
-
Set automatic bind mode for the container.
enableBind |
Boolean |
Script should be used for automatic binding. |
enableUnbind |
Boolean |
Script should be used for automatic unbinding. |
setAutoApplyScript(script) ⇒ void
-
Update automatic binding script source.
script |
String |
Script content. |