Skip to content

Class: LayoutEvent

Hierarchy

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new LayoutEvent(type, data?, times?): LayoutEvent

Parameters

NameType
typestring
data?ILayoutBlockData[]
times?number

Returns

LayoutEvent

Overrides

Event.constructor

Defined in

leafer/packages/event/src/LayoutEvent.ts:25

Properties

origin

Readonly origin: IObject

Implementation of

ILayoutEvent.origin

Inherited from

Event.origin

Defined in

leafer/packages/event/src/Event.ts:7


type

Readonly type: string

Implementation of

ILayoutEvent.type

Inherited from

Event.type

Defined in

leafer/packages/event/src/Event.ts:9


target

Readonly target: IEventTarget

Implementation of

ILayoutEvent.target

Inherited from

Event.target

Defined in

leafer/packages/event/src/Event.ts:10


current

Readonly current: IEventTarget

Implementation of

ILayoutEvent.current

Inherited from

Event.current

Defined in

leafer/packages/event/src/Event.ts:11


bubbles

Readonly bubbles: boolean = false

Implementation of

ILayoutEvent.bubbles

Inherited from

Event.bubbles

Defined in

leafer/packages/event/src/Event.ts:13


phase

Readonly phase: number

Implementation of

ILayoutEvent.phase

Inherited from

Event.phase

Defined in

leafer/packages/event/src/Event.ts:14


isStopDefault

isStopDefault: boolean

Implementation of

ILayoutEvent.isStopDefault

Inherited from

Event.isStopDefault

Defined in

leafer/packages/event/src/Event.ts:16


isStop

isStop: boolean

Implementation of

ILayoutEvent.isStop

Inherited from

Event.isStop

Defined in

leafer/packages/event/src/Event.ts:17


isStopNow

isStopNow: boolean

Implementation of

ILayoutEvent.isStopNow

Inherited from

Event.isStopNow

Defined in

leafer/packages/event/src/Event.ts:18


CHECK_UPDATE

Static CHECK_UPDATE: string = 'layout.check_update'

Defined in

leafer/packages/event/src/LayoutEvent.ts:8


REQUEST

Static REQUEST: string = 'layout.request'

Defined in

leafer/packages/event/src/LayoutEvent.ts:10


START

Static START: string = 'layout.start'

Defined in

leafer/packages/event/src/LayoutEvent.ts:12


BEFORE

Static BEFORE: string = 'layout.before'

Defined in

leafer/packages/event/src/LayoutEvent.ts:14


LAYOUT

Static LAYOUT: string = 'layout'

Defined in

leafer/packages/event/src/LayoutEvent.ts:15


AFTER

Static AFTER: string = 'layout.after'

Defined in

leafer/packages/event/src/LayoutEvent.ts:16


AGAIN

Static AGAIN: string = 'layout.again'

Defined in

leafer/packages/event/src/LayoutEvent.ts:18


END

Static END: string = 'layout.end'

Defined in

leafer/packages/event/src/LayoutEvent.ts:20


data

Readonly data: ILayoutBlockData[]

Implementation of

ILayoutEvent.data

Defined in

leafer/packages/event/src/LayoutEvent.ts:22


times

Readonly times: number

Implementation of

ILayoutEvent.times

Defined in

leafer/packages/event/src/LayoutEvent.ts:23

Methods

stopDefault

stopDefault(): void

Returns

void

Implementation of

ILayoutEvent.stopDefault

Inherited from

Event.stopDefault

Defined in

leafer/packages/event/src/Event.ts:25


stopNow

stopNow(): void

Returns

void

Implementation of

ILayoutEvent.stopNow

Inherited from

Event.stopNow

Defined in

leafer/packages/event/src/Event.ts:30


stop

stop(): void

Returns

void

Implementation of

ILayoutEvent.stop

Inherited from

Event.stop

Defined in

leafer/packages/event/src/Event.ts:36

Released under the MIT License.