ParentWidgetInterface
in
Interface for widgets that can have children widget: main builder, choice etc.
Table of Contents
- addFinalJs() : mixed
- Add javascript content into the generated form to be insert at the end of the whole JS generated script.
- addJs() : mixed
- Add javascript content into the generated form
- controlJsChild() : bool
- indicate if the parent widget generate itself some of js child
Methods
addFinalJs()
Add javascript content into the generated form to be insert at the end of the whole JS generated script.
public
addFinalJs(mixed $js) : mixed
Parameters
- $js : mixed
Return values
mixed —addJs()
Add javascript content into the generated form
public
addJs(mixed $js) : mixed
Parameters
- $js : mixed
Return values
mixed —controlJsChild()
indicate if the parent widget generate itself some of js child
public
controlJsChild() : bool