メインコンテンツまでスキップ

WindowSize store

WindowSize values

PropertydefaultDescription
width1920Window width
height1080Window height

WindowSize events

Event nameArgumentDescription
onChange-Called when the window size changes
onMountElementCalled when the component is mounted
onCleannullCalled when the component is removed

WindowSize state

export interface WindowSizeState {
snapshot: [WindowSizeState]
width: number
height: number
callback(): void
onChange(): void
onMount(): void
onClean(): void
}