@vernonia/core - v5.1.12
    Preparing search index...

    Hierarchy

    • Widget
      • default
    Index

    Constructors

    Properties

    centerlines: FeatureLayer
    declaredClass: string
    destroyed: boolean
    icon: string | nullish

    Icon which represents the widget.

    null

    Read more...

    id: string

    The unique ID assigned to the widget when the widget is created.

    Read more...

    initialized: boolean
    label: string | nullish

    The widget's label.

    Read more...

    streets: GroupLayer
    streetsInfo: MapImageLayer
    view: MapView
    visible: boolean

    Indicates whether the widget is visible.

    true

    Read more...

    Accessors

    • get container(): HTMLElement | nullish

      The ID or node representing the DOM element containing the widget.

      Read more...

      Returns HTMLElement | nullish

    • set container(value: string | HTMLElement | nullish): void

      Parameters

      • value: string | HTMLElement | nullish

      Returns void

    Methods

    • Parameters

      • propertyName: string

      Returns any

    • Type Parameters

      • T

      Parameters

      • propertyName: string

      Returns T

    • Type Parameters

      • T

      Parameters

      • propertyName: string
      • value: T

      Returns this

    • Type Parameters

      • T

      Parameters

      • handles: IHandle | IHandle[]
      • OptionalgroupKey: Exclude<T, IHandle>

      Returns void

    • A utility method used for building the value for a widget's class property.

      Parameters

      Returns string

    • Destroys the widget instance.

      Read more...

      Returns void

    • Emits an event on the instance.

      Parameters

      • type: string

        The name of the event.

      • Optionalevent: any

        The event payload.

        Read more...

      Returns boolean

    • Indicates whether there is an event listener on the instance that matches the provided event name.

      Parameters

      Returns boolean

    • Type Parameters

      • T

      Parameters

      • OptionalgroupKey: Exclude<T, IHandle>

      Returns boolean

    • isFulfilled() may be used to verify if creating an instance of the class is fulfilled (either resolved or rejected).

      Read more...

      Returns boolean

    • isRejected() may be used to verify if creating an instance of the class is rejected.

      Read more...

      Returns boolean

    • isResolved() may be used to verify if creating an instance of the class is resolved.

      Read more...

      Returns boolean

    • Parameters

      • propertyName: string

      Returns void

    • Registers an event handler on the instance.

      Parameters

      • type: string | string[]

        An event or an array of events to listen for.

      • listener: EventHandler

        The function to call when the event fires.

        Read more...

      Returns IHandle

    • Type Parameters

      • T

      Parameters

      • OptionalgroupKey: Exclude<T, IHandle>

      Returns void

    • Renders widget to the DOM immediately.

      Read more...

      Returns void

    • Schedules widget rendering.

      Read more...

      Returns void

    • Type Parameters

      • T

      Parameters

      • propertyName: string
      • value: T

      Returns this

    • Parameters

      • props: HashMap<any>

      Returns this

    • Parameters

      • path: string | string[]
      • callback: WatchCallback
      • Optionalsync: boolean

      Returns WatchHandle

    • when() may be leveraged once an instance of the class is created.

      Parameters

      • Optionalcallback: Function

        The function to call when the promise resolves.

      • Optionalerrback: Function

        The function to execute when the promise fails.

        Read more...

      Returns Promise<any>