Class HubSection

Defines a section of a Hub.

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(element?: HTMLElement, options?: any): HubSection

Creates a new HubSection.

constructor

Parameters

  • element?: HTMLElement optional

    The DOM element hosts the new HubSection.

  • options?: any optional

    An object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties or events.

Returns

HubSection

Properties

public contentElement: HTMLElement

Gets the DOM element that hosts the HubSection control's content.

public element: HTMLElement

Gets the DOM element that hosts this HubSection.

public header: string

Gets or sets the header for this HubSection.

public isHeaderStatic: boolean

Gets a value that specifies whether the header is static.

Methods

public dispose()

Releases resources held by this HubSection. Call this method when the HubSection is no longer needed. After calling this method, the HubSection becomes unusable.