constructor(opts?: any): SplitGroup
Initializes a new SplitGroup.
JavaScript object containing initialization data for the group.
Gets the parent which owns this layoutitem.
It could be a Group or a LayoutBase.
Gets or sets the size of the group.
Tile size may be positive numbers (in pixels), null(fits the tile content) or strings in the format '{number}*' (star sizing).
The star-sizing option performs a XAML-style dynamic sizing where column widths are proportional to the number before the star. For example, if a group has three tiles with sizes "100", "*", and "3*", the first column will be 100 pixels size, the second will take up 1/4th of the remaining space, and the last will take up the remaining 3/4ths of the remaining space.
Star-sizing allows you to define tiles that automatically stretch to fill the space available. For example, set the size of the last tile to "*" and it will automatically extend to fill the entire group size so there's no empty space. You may also want to set the tile's minSize property to prevent the tile from getting too narrow.
addEventListener(target: EventTarget, type: string, fn: any, capture?: boolean): void
このControl が所有する要素にイベントリスナーを追加します。
コントロールは、アタッチされているリスナーとそのハンドラのリストを保持し、コントロールが破棄されているときにそれらを簡単に削除すること ができます(dispose と removeEventListener メソッドを参照してください)。
イベントリスナーを削除しないと、メモリリークが発生する可能があります。
Target element for the event.
String that specifies the event.
Function to execute when the event occurs.
Whether the listener is capturing.
dispose(fullDispose?: boolean): void
オブジェクトを破棄します。
A boolean value decides wehter to keep the current status when disposing. If true, all the current status will be cleared. Otherwise, keep the current status.
draw(): void
Draws the group.
initialize(options: any): void
Initializes the object by copying the properties from a given object.
Object that contains the initialization data.
removeEventListener(target?: EventTarget, type?: string, fn?: any, capture?: boolean): number
このControl が所有する要素にアタッチされている1つまたは複数のイベントリスナーを解除します。
Target element for the event. If null, removes listeners attached to all targets.
String that specifies the event. If null, removes listeners attached to all events.
Handler to remove. If null, removes all handlers.
Whether the listener is capturing. If null, removes capturing and non-capturing listeners.
render(container?: HTMLElement): HTMLElement
Renders the layoutitem in the specified container.
the container element where the layoutitem renders in.
Defines the group class for splitlayout.