Type Alias ZCircusComponentConstructor<T>

ZCircusComponentConstructor<T>: {
    Selector: string;
    new (driver: IZCircusDriver): T;
}

Represents the type for a circus component model.

Type Parameters

Type declaration

    • new (driver): T
    • Initializes a new instance of this object.

      Parameters

      • driver: IZCircusDriver

        The driver that represents the root of the component.

      Returns T

      A new instance of the component model.

  • Selector: string

    The selector that can be used to query any of the components on the current driver context.