extends |
JsExpression |
|---|
Transparent mapper that will actually translate into JavaScript code. Used as a glue between Views and your actual JavaScript code.
IMPORTANT: all methods in this class are prepended with '_', to avoid clashes with JS mapping IMPORTANT: extend first, see Jquery class for example
| Methods | ||
|---|---|---|
public
|
__construct(string $library)
|
# |
public
|
__call(string $name, list<mixed> $args): $this
|
# |
public
&
|
__get(string $name): $this
|
# |
private
|
_renderArgs(list<mixed> $args = []): string
|
# |
public
|
jsRender(): string
|
# |
| Methods inherited from Atk4\Ui\Js\JsExpression |
|---|
_jsEncode() |
| Methods used from Atk4\Core\DiContainerTrait |
|---|
setDefaults(), setMissingProperty(), assertInstanceOf(), _fromSeedPrecheck(), fromSeed(), fromSeedUnsafe() |
| Properties | |||
|---|---|---|---|
public
|
string
|
$_library
|
# |
public
|
list<mixed>
|
$_constructorArgs = []
|
# |
public
|
list<string|int|array{string, list<mixed>}>
|
$_chain = []
|
# |
| Properties inherited from Atk4\Ui\Js\JsExpression |
|---|
$template, $args |