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

WindowSize store

WindowSize values

PropertydefaultDescription
width1920Window width
height1080Window height

WindowSize events

Event nameArgumentDescription
change-Called when the window size changes
mountElementCalled when the component is mounted
cleannullCalled when the component is removed

WindowSize state

export interface WindowSizeState {
snapshot: [WindowSizeState]
width: number
height: number
callback(): void
change(): void
mount(): void
clean(): void
}