StringFormatBinding

class StringFormatBinding

extends Binding

Represents a set of bindings (see Binding) that are compiled into a single string value.

Note: Use the bindf function to create instances of this class.

Constructor

(format: string, ...args: (string | Binding)[]): StringFormatBinding

.toString()

(): string

Return a string representation of this binding, for error messages and debug logging.

.isComponentBinding()

(): true

Inherited from Binding.isComponentBinding.

.id

string

Inherited from Binding.id.

.propertyName

string

Inherited from Binding.propertyName.

.bindings

readonly Binding[]

Inherited from Binding.bindings.

.parent

Binding

Inherited from Binding.parent.

.addFilter()

(fmt: string): this

Inherited from Binding.addFilter.

.then()

(trueValue: any): this

Inherited from Binding.then.

.else()

(falseValue: any): this

Inherited from Binding.else.

.match()

(...values: any[]): this

Inherited from Binding.match.

.nonMatch()

(...values: any[]): this

Inherited from Binding.nonMatch.

.and()

[1]. (source: Binding): this
[2]. (source: string, defaultValue?: any): this

Inherited from Binding.and.

.or()

[1]. (source: Binding): this
[2]. (source: string, defaultValue?: any): this

Inherited from Binding.or.

.debuggerLog()

(): this

Inherited from Binding.debuggerLog.