Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NodePart

Hierarchy

  • NodePart

Implements

Index

Constructors

constructor

Properties

_pendingValue

_pendingValue: any = undefined

endNode

endNode: Node

options

options: RenderOptions

startNode

startNode: Node

value

value: any = undefined

Methods

appendInto

  • appendInto(container: Node): void
  • Inserts this part into a container.

    This part must be empty, as its contents are not automatically moved.

    Parameters

    • container: Node

    Returns void

appendIntoPart

  • Appends this part into a parent part.

    This part must be empty, as its contents are not automatically moved.

    Parameters

    Returns void

clear

  • clear(startNode?: Node): void
  • Parameters

    • Default value startNode: Node = this.startNode

    Returns void

commit

  • commit(): void

insertAfterNode

  • insertAfterNode(ref: Node): void
  • Inserts this part between ref and ref's next sibling. Both ref and its next sibling must be static, unchanging nodes such as those that appear in a literal section of a template.

    This part must be empty, as its contents are not automatically moved.

    Parameters

    • ref: Node

    Returns void

insertAfterPart

  • Appends this part after ref

    This part must be empty, as its contents are not automatically moved.

    Parameters

    Returns void

setValue

  • setValue(value: any): void

Generated using TypeDoc