Class: Action

$k. Action

new $k.Action()

Action on a view

Methods

static$k.Action.current()

Returns the current action if set, undefined if not.

getVariable(variable)

get the value of the given variable

Name Type Description
variable string

receiver()

get the receiver element of the action

session()

get the session of the action

setVariable(variable, value)

set the value of the given variable

Name Type Description
variable string
value object

toJSON()