Skip to content

Interface: ILeaferAttrData

Hierarchy

Table of contents

Properties

Methods

Properties

running

running: boolean

Defined in

leafer/packages/interface/src/app/ILeafer.ts:30


created

created: boolean

Defined in

leafer/packages/interface/src/app/ILeafer.ts:31


ready

ready: boolean

Defined in

leafer/packages/interface/src/app/ILeafer.ts:32


viewReady

viewReady: boolean

Defined in

leafer/packages/interface/src/app/ILeafer.ts:33


imageReady

imageReady: boolean

Defined in

leafer/packages/interface/src/app/ILeafer.ts:34


viewCompleted

viewCompleted: boolean

Defined in

leafer/packages/interface/src/app/ILeafer.ts:35


layoutLocked

layoutLocked: boolean

Defined in

leafer/packages/interface/src/app/ILeafer.ts:36


transforming

transforming: boolean

Defined in

leafer/packages/interface/src/app/ILeafer.ts:38


view

view: unknown

Defined in

leafer/packages/interface/src/app/ILeafer.ts:40


canvas

canvas: ILeaferCanvas

Defined in

leafer/packages/interface/src/app/ILeafer.ts:42


renderer

renderer: IRenderer

Defined in

leafer/packages/interface/src/app/ILeafer.ts:43


watcher

watcher: IWatcher

Defined in

leafer/packages/interface/src/app/ILeafer.ts:45


layouter

layouter: ILayouter

Defined in

leafer/packages/interface/src/app/ILeafer.ts:46


selector

Optional selector: ISelector

Defined in

leafer/packages/interface/src/app/ILeafer.ts:48


interaction

Optional interaction: IInteraction

Defined in

leafer/packages/interface/src/app/ILeafer.ts:49


canvasManager

canvasManager: ICanvasManager

Defined in

leafer/packages/interface/src/app/ILeafer.ts:51


hitCanvasManager

Optional hitCanvasManager: IHitCanvasManager

Defined in

leafer/packages/interface/src/app/ILeafer.ts:52


autoLayout

Optional autoLayout: IAutoBounds

Defined in

leafer/packages/interface/src/app/ILeafer.ts:54


lazyBounds

lazyBounds: IBounds

Defined in

leafer/packages/interface/src/app/ILeafer.ts:55


config

config: ILeaferConfig

Defined in

leafer/packages/interface/src/app/ILeafer.ts:57


userConfig

Optional userConfig: ILeaferConfig

Defined in

leafer/packages/interface/src/app/ILeafer.ts:58


cursorPoint

Readonly cursorPoint: IPointData

Defined in

leafer/packages/interface/src/app/ILeafer.ts:60


clientBounds

Readonly clientBounds: IBoundsData

Defined in

leafer/packages/interface/src/app/ILeafer.ts:61


leafs

leafs: number

Defined in

leafer/packages/interface/src/app/ILeafer.ts:62


__eventIds

__eventIds: IEventListenerId[]

Defined in

leafer/packages/interface/src/app/ILeafer.ts:64


__nextRenderWait

__nextRenderWait: IFunction[]

Defined in

leafer/packages/interface/src/app/ILeafer.ts:65

Methods

init

init(userConfig?, parentApp?): void

Parameters

NameType
userConfig?ILeaferConfig
parentApp?IAppBase

Returns

void

Defined in

leafer/packages/interface/src/app/ILeafer.ts:67


start

start(): void

Returns

void

Defined in

leafer/packages/interface/src/app/ILeafer.ts:69


stop

stop(): void

Returns

void

Defined in

leafer/packages/interface/src/app/ILeafer.ts:70


unlockLayout

unlockLayout(): void

Returns

void

Defined in

leafer/packages/interface/src/app/ILeafer.ts:72


lockLayout

lockLayout(): void

Returns

void

Defined in

leafer/packages/interface/src/app/ILeafer.ts:73


requestRender

requestRender(change): void

Parameters

NameType
changeboolean

Returns

void

Defined in

leafer/packages/interface/src/app/ILeafer.ts:75


updateCursor

updateCursor(cursor?): void

Parameters

NameType
cursor?ICursorType

Returns

void

Defined in

leafer/packages/interface/src/app/ILeafer.ts:77


resize

resize(size): void

Parameters

NameType
sizeIScreenSizeData

Returns

void

Defined in

leafer/packages/interface/src/app/ILeafer.ts:78


waitReady

waitReady(item, bind?): void

Parameters

NameType
itemIFunction
bind?IObject

Returns

void

Defined in

leafer/packages/interface/src/app/ILeafer.ts:80


waitViewReady

waitViewReady(item, bind?): void

Parameters

NameType
itemIFunction
bind?IObject

Returns

void

Defined in

leafer/packages/interface/src/app/ILeafer.ts:81


waitViewCompleted

waitViewCompleted(item, bind?): void

Parameters

NameType
itemIFunction
bind?IObject

Returns

void

Defined in

leafer/packages/interface/src/app/ILeafer.ts:82


zoom

zoom(zoomType, padding?, fixedScale?): IBoundsData

Parameters

NameType
zoomTypeIZoomType
padding?IFourNumber
fixedScale?boolean

Returns

IBoundsData

Defined in

leafer/packages/interface/src/app/ILeafer.ts:84


getValidMove

getValidMove(moveX, moveY): IPointData

Parameters

NameType
moveXnumber
moveYnumber

Returns

IPointData

Defined in

leafer/packages/interface/src/app/ILeafer.ts:85


getValidScale

getValidScale(changeScale): number

Parameters

NameType
changeScalenumber

Returns

number

Defined in

leafer/packages/interface/src/app/ILeafer.ts:86


getWorldPointByClient

getWorldPointByClient(clientPoint, updateClient?): IPointData

Parameters

NameType
clientPointIClientPointData
updateClient?boolean

Returns

IPointData

Defined in

leafer/packages/interface/src/app/ILeafer.ts:88


getPagePointByClient

getPagePointByClient(clientPoint, updateClient?): IPointData

Parameters

NameType
clientPointIClientPointData
updateClient?boolean

Returns

IPointData

Defined in

leafer/packages/interface/src/app/ILeafer.ts:89


updateClientBounds

updateClientBounds(): void

Returns

void

Defined in

leafer/packages/interface/src/app/ILeafer.ts:90


receiveEvent

receiveEvent(event): void

Parameters

NameType
eventany

Returns

void

Defined in

leafer/packages/interface/src/app/ILeafer.ts:92

Released under the MIT License.