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


cursorPoint

Readonly cursorPoint: IPointData

Defined in

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


clientBounds

Readonly clientBounds: IBoundsData

Defined in

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


leafs

leafs: number

Defined in

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


__eventIds

__eventIds: IEventListenerId[]

Defined in

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


__nextRenderWait

__nextRenderWait: IFunction[]

Defined in

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

Methods

init

init(userConfig?, parentApp?): void

Parameters

NameType
userConfig?ILeaferConfig
parentApp?IAppBase

Returns

void

Defined in

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


start

start(): void

Returns

void

Defined in

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


stop

stop(): void

Returns

void

Defined in

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


unlockLayout

unlockLayout(): void

Returns

void

Defined in

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


lockLayout

lockLayout(): void

Returns

void

Defined in

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


updateCursor

updateCursor(cursor?): void

Parameters

NameType
cursor?ICursorType

Returns

void

Defined in

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


resize

resize(size): void

Parameters

NameType
sizeIScreenSizeData

Returns

void

Defined in

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


waitReady

waitReady(item, bind?): void

Parameters

NameType
itemIFunction
bind?IObject

Returns

void

Defined in

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


waitViewReady

waitViewReady(item, bind?): void

Parameters

NameType
itemIFunction
bind?IObject

Returns

void

Defined in

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


waitViewCompleted

waitViewCompleted(item, bind?): void

Parameters

NameType
itemIFunction
bind?IObject

Returns

void

Defined in

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


zoom

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

Parameters

NameType
zoomTypeIZoomType
padding?IFourNumber
fixedScale?boolean

Returns

IBoundsData

Defined in

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


getValidMove

getValidMove(moveX, moveY): IPointData

Parameters

NameType
moveXnumber
moveYnumber

Returns

IPointData

Defined in

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


getValidScale

getValidScale(changeScale): number

Parameters

NameType
changeScalenumber

Returns

number

Defined in

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


getWorldPointByClient

getWorldPointByClient(clientPoint, updateClient?): IPointData

Parameters

NameType
clientPointIClientPointData
updateClient?boolean

Returns

IPointData

Defined in

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


getPagePointByClient

getPagePointByClient(clientPoint, updateClient?): IPointData

Parameters

NameType
clientPointIClientPointData
updateClient?boolean

Returns

IPointData

Defined in

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


updateClientBounds

updateClientBounds(): void

Returns

void

Defined in

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


receiveEvent

receiveEvent(event): void

Parameters

NameType
eventany

Returns

void

Defined in

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

Released under the MIT License.