Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Module

Hierarchy

Index

Properties

Optional instances

instances: Factory[]

meta

unsubscribe$

unsubscribe$: Subject<void> = new Subject()

Static Optional forRoot

forRoot: undefined | ((...args: any[]) => typeof Module)

Static meta

Methods

compile

destroy

  • destroy(): void

Protected getInstance

Protected getParentInstance

Protected makeContext

makeFunction

Protected makeHosts

Protected makeInputs

makeInstance

  • makeInstance(node: IElement, factory: typeof Factory, selector: string, parentInstance?: Factory | Window, args?: any[], inject?: undefined | {}, skipSubscription?: boolean): Factory | undefined
  • Parameters

    • node: IElement
    • factory: typeof Factory
    • selector: string
    • Optional parentInstance: Factory | Window
    • Optional args: any[]
    • Optional inject: undefined | {}
    • Default value skipSubscription: boolean = false

    Returns Factory | undefined

makeInstanceSubscription

Protected makeOutput

  • makeOutput(instance: Factory, key: string): Observable<any>

Protected makeOutputs

nextError

  • nextError(error: Error, instance: Factory, expression: string, params: any[]): void

onInit

  • onInit(): void

parse

Protected parseTextNode

Protected parseTextNodeExpression

Protected pushFragment

  • pushFragment(nodeValue: string, from: number, to: number, expressions: (ExpressionFunction | string)[]): void

remove

  • remove(node: Node, keepInstance?: Factory): Node

resolve

resolveAttribute

  • resolveAttribute(key: string, node: IElement): string | null

resolveInputsOutputs

Static Protected deleteContext

Static Protected makeContext

Static Protected matchSelectors

Static Protected parseExpression

  • parseExpression(expression: string): string

Static Protected parseOptionalChaining

  • parseOptionalChaining(expression: string): string

Static Protected parsePipeParams

  • parsePipeParams(expression: string): string[]

Static Protected parsePipes

  • parsePipes(expression: string): string

Static Protected querySelectorsAll

Static Protected traverseDown

  • traverseDown(node: Node | null, callback: (node: Node, i: number) => any, i?: number): any
  • Parameters

    • node: Node | null
    • callback: (node: Node, i: number) => any
        • (node: Node, i: number): any
        • Parameters

          • node: Node
          • i: number

          Returns any

    • Default value i: number = 0

    Returns any

Static Protected traverseNext

  • traverseNext(node: Node | null, callback: (node: Node, i: number) => any, i?: number): any
  • Parameters

    • node: Node | null
    • callback: (node: Node, i: number) => any
        • (node: Node, i: number): any
        • Parameters

          • node: Node
          • i: number

          Returns any

    • Default value i: number = 0

    Returns any

Static Protected traversePrevious

  • traversePrevious(node: Node | null, callback: (node: Node, i: number) => any, i?: number): any
  • Parameters

    • node: Node | null
    • callback: (node: Node, i: number) => any
        • (node: Node, i: number): any
        • Parameters

          • node: Node
          • i: number

          Returns any

    • Default value i: number = 0

    Returns any

Static Protected traverseUp

  • traverseUp(node: Node | null, callback: (node: Node, i: number) => any, i?: number): any
  • Parameters

    • node: Node | null
    • callback: (node: Node, i: number) => any
        • (node: Node, i: number): any
        • Parameters

          • node: Node
          • i: number

          Returns any

    • Default value i: number = 0

    Returns any