Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Group<A>

Group is an abstract class providing an api for widgets whose primary purpose is displaying content.

Type parameters

  • A: Attrs

Hierarchy

Implements

  • Widget

Index

Constructors

constructor

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

    Parameters

    • attrs: A
    • children: Content[]

    Returns Group

Properties

attrs

attrs: A

children

children: Content[]

content

content: Content

content is dynamic content that can be changed after the Widget has been rendered. It's up to the respective template to utilize this property or ignore it.

Abstract view

view: View

view for this Component.

The render method by default returns the render result of this View.

Methods

removeContent

  • removeContent(): Group<A>

removed

  • removed(): void
  • Returns void

render

  • render(): Content
  • Returns Content

rendered

  • rendered(): void
  • Returns void

setContent

  • setContent(content: Content): Group<A>

Generated using TypeDoc