Class: BaseDynamicActionHelper

.auth.helper. BaseDynamicActionHelper


<abstract> new BaseDynamicActionHelper()

Helper object for dynamic actions. Helper objects are designed
to be injected inside the control tree in order to perform
actions based on the binding context of the parent element.

Properties:
Name Type Description
role boolean | Deferred

The role value. If
a deferred object is given, then the actions are executed only
when the deferred is resolved.

whenPresent spet.auth.IAction

The action that
shoudl be executed when the role is present.

whenMissing spet.auth.IAction

The action that
should be executed when the role is missing.

Source:

Members


refresh

Re-applies the actions to the control tree.

Source:

updateRole

Called when the role is updated.

Source: