Properties

$eventIdentifier

$eventIdentifier : string

Type

string

$vars

$vars : array

Type

array

Methods

__invoke()

__invoke(\WebinoDraw\Dom\NodeList  $nodes, array  $spec) 

Parameters

\WebinoDraw\Dom\NodeList $nodes

Matched DOM nodes

array $spec

getVars()

getVars() : array

Returns

array

setVars()

setVars(array  $vars) : $this

Parameters

array $vars

Returns

$this

setVarTranslation()

setVarTranslation(\ArrayAccess|null  $varTranslation = null) : $this

Parameters

\ArrayAccess|null $varTranslation

Returns

$this

translate()

translate(string|array  $subject) : mixed

Parameters

string|array $subject

Returns

mixed

translateValue()

translateValue(string  $value, \WebinoDraw\VarTranslator\Translation  $varTranslation, array  $spec) : string

Parameters

string $value
\WebinoDraw\VarTranslator\Translation $varTranslation
array $spec

Returns

string

drawNodes()

drawNodes(\WebinoDraw\Dom\NodeList  $nodes, array  $spec) : $this

Provides manipulation over DOM elements

Parameters

\WebinoDraw\Dom\NodeList $nodes

Matched DOM nodes

array $spec

Returns

$this

manipulateNodes()

manipulateNodes(\WebinoDraw\Dom\NodeList  $nodes, array  $spec, \ArrayAccess  $translation) : $this

Manipulate nodes

Parameters

\WebinoDraw\Dom\NodeList $nodes
array $spec
\ArrayAccess $translation

Returns

$this

trigger()

trigger(array  $triggers, \WebinoDraw\Event\DrawEvent  $event) : $this

Parameters

array $triggers
\WebinoDraw\Event\DrawEvent $event

Returns

$this