Constructors
constructor
- new Context(meta, controller, parent?, unbound?, expression?): Context
Properties
Optional
alias
alias?: string
Optional
item
item?: number
Optional
keyAlias
keyAlias?: string
Optional
unbound
unbound?: boolean
Methods
addBinding
- addBinding(binding): void
Returns void
eachChild
- eachChild(expression, item): Context
new Context
flush
- flush(): void
Returns void
id
- id(): string
Returns string
namespaced Id
pause
- pause(): void
Returns void
queue
- queue(cb): void
Returns void
removeBinding
- removeBinding(binding): void
Returns void
removeNode
- removeNode(node): void
Returns void
unpause
- unpause(): void
Returns void
viewChild
- viewChild(view, attributes, hooks, initHooks): Context
Parameters
- view: any
- attributes: any
- hooks: any
- initHooks: any
Make a context for an item in an each block