structural directive

Hierarchy (View Summary)

Constructors

Properties

attributeDirectives?: DomAttributeDirectiveNode[]

attributes directive

attributes?: ElementAttribute<string, string | number | boolean | object>[]

hold static attr and event that will resolve normally from the global window.

inputs?: LiveAttribute[]

hold the attrs/inputs name marked as one way binding

name: string

name of the directive

node: DomNode

the value of the template node, that this directive going to host-on

outputs?: ElementAttribute<string, string>[]

hold the name of events that should be connected to a listener

successors directives

templateAttrs?: LiveAttribute[]

directive attribute

twoWayBinding?: LiveAttribute[]

hold the name of attributes marked for 2 way data binding

value?: string

value of the directive

Methods

  • Parameters

    • attrName: string
    • Optionalvalue: string | number | boolean | object

    Returns void

  • Parameters

    • attrName: string
    • valueSource: string

    Returns void

  • Parameters

    • eventName: string
    • handlerSource: string

    Returns void

  • Parameters

    • attrName: string
    • valueSource: string

    Returns void

  • Parameters

    • eventName: string
    • handlerSource: string

    Returns void