Skip to content

Interface: IMiniapp

Table of contents

Methods

Methods

select

select(name): IMiniappSelect

Parameters

NameType
namestring

Returns

IMiniappSelect

Defined in

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


getBounds

getBounds(select): Promise<IBoundsData>

Parameters

NameType
selectIMiniappSelect

Returns

Promise<IBoundsData>

Defined in

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


getSizeView

getSizeView(select): Promise<IMiniappSizeView>

Parameters

NameType
selectIMiniappSelect

Returns

Promise<IMiniappSizeView>

Defined in

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


onWindowResize

onWindowResize(fun): void

Parameters

NameType
funIFunction

Returns

void

Defined in

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


offWindowResize

offWindowResize(fun): void

Parameters

NameType
funIFunction

Returns

void

Defined in

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


saveToAlbum

saveToAlbum(path): Promise<any>

Parameters

NameType
pathstring

Returns

Promise<any>

Defined in

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

Released under the MIT License.