Skip to content

Class: RenderEvent

Hierarchy

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new RenderEvent(type, times?, bounds?, options?): RenderEvent

Parameters

NameType
typestring
times?number
bounds?IBounds
options?IRenderOptions

Returns

RenderEvent

Overrides

Event.constructor

Defined in

leafer/packages/event/src/RenderEvent.ts:27

Properties

origin

Readonly origin: IObject

Inherited from

Event.origin

Defined in

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


type

Readonly type: string

Inherited from

Event.type

Defined in

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


target

Readonly target: IEventTarget

Inherited from

Event.target

Defined in

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


current

Readonly current: IEventTarget

Inherited from

Event.current

Defined in

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


bubbles

Readonly bubbles: boolean = false

Inherited from

Event.bubbles

Defined in

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


phase

Readonly phase: number

Inherited from

Event.phase

Defined in

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


isStopDefault

isStopDefault: boolean

Inherited from

Event.isStopDefault

Defined in

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


isStop

isStop: boolean

Inherited from

Event.isStop

Defined in

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


isStopNow

isStopNow: boolean

Inherited from

Event.isStopNow

Defined in

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


REQUEST

Static REQUEST: string = 'render.request'

Defined in

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


CHILD_START

Static CHILD_START: string = 'render.child_start'

Defined in

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


START

Static START: string = 'render.start'

Defined in

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


BEFORE

Static BEFORE: string = 'render.before'

Defined in

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


RENDER

Static RENDER: string = 'render'

Defined in

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


AFTER

Static AFTER: string = 'render.after'

Defined in

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


AGAIN

Static AGAIN: string = 'render.again'

Defined in

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


END

Static END: string = 'render.end'

Defined in

leafer/packages/event/src/RenderEvent.ts:19


NEXT

Static NEXT: string = 'render.next'

Defined in

leafer/packages/event/src/RenderEvent.ts:21


renderBounds

Readonly renderBounds: IBounds

Defined in

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


renderOptions

Readonly renderOptions: IRenderOptions

Defined in

leafer/packages/event/src/RenderEvent.ts:24


times

Readonly times: number

Defined in

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

Methods

stopDefault

stopDefault(): void

Returns

void

Inherited from

Event.stopDefault

Defined in

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


stopNow

stopNow(): void

Returns

void

Inherited from

Event.stopNow

Defined in

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


stop

stop(): void

Returns

void

Inherited from

Event.stop

Defined in

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

Released under the MIT License.