Méthode | Description | |
---|---|---|
AddLoadEvent ( String loadFunctionName ) : String |
Renders a script block invoking
|
|
EndBehaviourRegister ( ) : String |
Renders the end of a script block that associated events to selector rules StartBehaviourRegister Register
|
|
InstallScripts ( ) : String |
Renders a script tag refering the Behaviour library code.
|
|
ReApply ( ) : String |
Renders a script block invoking
|
|
Register ( String selector, String eventName, String jsFunctionName ) : String |
Adds a entry to a registration array. Invoking it with
|
|
StartBehaviourRegister ( ) : String |
Renders a script block starting the association of events to selector rules Register EndBehaviourRegister
|
public AddLoadEvent ( String loadFunctionName ) : String | ||
loadFunctionName | String | The name of the js function to be invoked when the body is loaded |
Résultat | String |
public Register ( String selector, String eventName, String jsFunctionName ) : String | ||
selector | String | The css selector rule |
eventName | String | The name of the event on the element |
jsFunctionName | String | The function to be invoked in response to the event |
Résultat | String |