Skip to content

Interface: IMiniapp

Table of contents

Methods

Methods

select

select(name): IMiniappSelect

Parameters

NameType
namestring

Returns

IMiniappSelect

Defined in

leafer/packages/interface/src/platform/IPlatform.ts:74


getBounds

getBounds(select): Promise<IBoundsData>

Parameters

NameType
selectIMiniappSelect

Returns

Promise<IBoundsData>

Defined in

leafer/packages/interface/src/platform/IPlatform.ts:75


getSizeView

getSizeView(select): Promise<IMiniappSizeView>

Parameters

NameType
selectIMiniappSelect

Returns

Promise<IMiniappSizeView>

Defined in

leafer/packages/interface/src/platform/IPlatform.ts:76


onWindowResize

onWindowResize(fun): void

Parameters

NameType
funIFunction

Returns

void

Defined in

leafer/packages/interface/src/platform/IPlatform.ts:77


offWindowResize

offWindowResize(fun): void

Parameters

NameType
funIFunction

Returns

void

Defined in

leafer/packages/interface/src/platform/IPlatform.ts:78


saveToAlbum

saveToAlbum(path): Promise<any>

Parameters

NameType
pathstring

Returns

Promise<any>

Defined in

leafer/packages/interface/src/platform/IPlatform.ts:79

Released under the MIT License.