Options
All
  • Public
  • Public/Protected
  • All
Menu

Fragment allows for the grouping of widgets in a DocumentFragment.

This is intended to facilitate view templates that do not have a single root but instead generated multiple sibling content.

Hierarchy

  • Component<Attrs>
    • Fragment

Implements

  • Widget

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Fragment(attrs: Attrs, children: Content[]): Fragment
  • children is an array of content passed to this Component.

    Parameters

    • attrs: Attrs
    • children: Content[]

    Returns Fragment

Properties

attrs

attrs: Attrs

children

children: Content[]

view

view: Main = new views.Main(undefined)

Methods

removed

  • removed(): void
  • Returns void

render

  • render(): DocumentFragment

rendered

  • rendered(): void
  • Returns void

Generated using TypeDoc