ASP.NET MVC コントロールヘルプ
SplitTile Class
ファイル
c1.nav.js
モジュール
c1.nav.split
基本クラス
Tile
Show
   

Defines the tile class for the SplitLayout.

コンストラクタ

プロパティ

メソッド

コンストラクタ

constructor

constructor(opts?: any): SplitTile

Initializes a new SplitTile.

パラメーター
戻り値
SplitTile

プロパティ

allowDrag

Gets or sets a boolean value decides whether the tile could be dragged.

継承元
Tile
boolean

allowHide

Gets or sets a boolean value decides whether the tiles could be hidden.

継承元
Tile
boolean

allowMaximize

Gets or sets a boolean value decides whether the tiles could be maximized.

継承元
Tile
boolean

content

Gets or sets the tile content(text/html) or the selector of the dom element which contains the content.

継承元
Tile
string

headerText

Gets or sets the tile header title.

継承元
Tile
string

hostElement

Gets the outest element which represents this layoutitem.

継承元
LayoutItem
HTMLElement

layout

Gets the layout which owns this item.

継承元
LayoutItem
LayoutBase

maximum

Gets a boolean value represents whether the tile is maximized.

継承元
Tile
boolean

maxResizeHeight

Gets or sets the maximum values of tile's height when resizing

継承元
Tile
number

maxResizeWidth

Gets or sets the maximum values of tile's width when resizing

継承元
Tile
number

minSize

Gets or sets the minimum size of the tile in pixels.

number

parent

Gets the parent which owns this layoutitem.

It could be a Group or a LayoutBase.

継承元
LayoutItem
any

showHeader

Gets or sets a boolean value decides whether to show the header.

継承元
Tile
boolean

showToolbar

Gets or sets a boolean value decides whether to show the toolbar.

継承元
Tile
boolean

size

Gets or sets the size of the tile.

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.

any

visible

Gets or sets a boolean value decides whether to show the tile.

継承元
Tile
boolean

メソッド

activate

activate(): void

Acitvates the current tile.

継承元
Tile
戻り値
void

addEventListener

addEventListener(target: EventTarget, type: string, fn: any, capture?: boolean): void

このControl が所有する要素にイベントリスナーを追加します。

コントロールは、アタッチされているリスナーとそのハンドラのリストを保持し、コントロールが破棄されているときにそれらを簡単に削除すること ができます(disposeremoveEventListener メソッドを参照してください)。

イベントリスナーを削除しないと、メモリリークが発生する可能があります。

パラメーター
  • target: EventTarget

    Target element for the event.

  • type: string

    String that specifies the event.

  • fn: any

    Function to execute when the event occurs.

  • capture: boolean Optional

    Whether the listener is capturing.

継承元
DisposableObject
戻り値
void

beginMove

beginMove(): void

Begins the moving.

戻り値
void

deactivate

deactivate(): void

Deacitvates the current tile.

継承元
Tile
戻り値
void

dispose

dispose(fullDispose?: boolean): void

オブジェクトを破棄します。

パラメーター
  • fullDispose: boolean Optional

    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.

戻り値
void

draw

draw(): void

Draws the tile.

戻り値
void

endMove

endMove(): void

End the moving.

戻り値
void

initialize

initialize(options: any): void

Initializes the object by copying the properties from a given object.

パラメーター
  • options: any

    Object that contains the initialization data.

継承元
LayoutItem
戻り値
void

remove

remove(): boolean

Removes the current layoutitem from its parent.

継承元
LayoutItem
戻り値
boolean

removeEventListener

removeEventListener(target?: EventTarget, type?: string, fn?: any, capture?: boolean): number

このControl が所有する要素にアタッチされている1つまたは複数のイベントリスナーを解除します。

パラメーター
  • target: EventTarget Optional

    Target element for the event. If null, removes listeners attached to all targets.

  • type: string Optional

    String that specifies the event. If null, removes listeners attached to all events.

  • fn: any Optional

    Handler to remove. If null, removes all handlers.

  • capture: boolean Optional

    Whether the listener is capturing. If null, removes capturing and non-capturing listeners.

継承元
DisposableObject
戻り値
number

render

render(container?: HTMLElement): HTMLElement

Renders the layoutitem in the specified container.

パラメーター
  • container: HTMLElement Optional

    the container element where the layoutitem renders in.

継承元
Tile
戻り値
HTMLElement