본문으로 건너뛰기

VirtualPanel

A slide data component that holds information of a single HTMLElement

Constructor

constructor(options: VirtualPanelOptions);

Constructs a new instance of the VirtualPanel class

Parameters

options (VirtualPanelOptions) - VirtualPanelOptions

Properties

_cachedInnerHTML

Type: string | null

_elProvider

Type: VirtualElementProvider

cachedInnerHTML

Type: string | null

Cached innerHTML by the previous render function

This property is read-only.

element

Type: HTMLElement

HTMLElement that panel's referencing

This property is read-only.

elementIndex

Type: number

A number for indexing which element it will be rendered on

This property is read-only.

Methods

cacheRenderResult

cacheRenderResult(result: string): void

decreaseIndex

decreaseIndex(val: number): this

increaseIndex

increaseIndex(val: number): this

render

render(): void

uncacheRenderResult

uncacheRenderResult(): void