Eval

Global

Variable or function

Description

$moment

Moment lib.

_

Lodash lib.

$locale: string

Example: en, sl, ...

$format.currency(value: number, currency = 'EUR'): string

Format value helper.

$format.number

Format value helper.

$format.date

Format value helper.

$format.dateTime

Format value helper.

Variable or function

Description

$val

Form value.

$form

JsfBuilder (main class)

$builder

Root prop builder

$builder.handler

Handler builder if set

$objects

Executed from $evalObjects

$layoutState

$i18n

Translate value.

$setValue

Set value on form.

$patchValue

Patch value on form.

$clipboard

Clipboard util.

$valueOf(path: string) 🆕

Returns value of given prop. Supports sibling resolution (abstract array paths) for example: $valueOf('a.b[].c')

$indexOf(path: string) 🆕

Returns index of given item. Supports sibling resolution (abstract array paths) for example: $indexOf('a.b[].c')

$instanceOf(path: string) 🆕

Returns instance of prop builder. Supports sibling resolution (abstract array paths) for example: $instanceOf('a.b[].c')

Variable or function

Variable or function

Last updated

Was this helpful?