Skip to content

Interface: IPlugin

Hierarchy

Table of contents

Properties

Methods

Properties

name

Optional name: string

Defined in

leafer/packages/interface/src/plugin/IPlugin.ts:5


importVersion

importVersion: string

Defined in

leafer/packages/interface/src/plugin/IPlugin.ts:6


import

import: string[]

Defined in

leafer/packages/interface/src/plugin/IPlugin.ts:7

Methods

run

run(LeaferUI, config): void

Parameters

NameType
LeaferUIIObject
configIObject

Returns

void

Defined in

leafer/packages/interface/src/plugin/IPlugin.ts:8


onLeafer

onLeafer(leafer): void

Parameters

NameType
leaferILeaferBase

Returns

void

Defined in

leafer/packages/interface/src/plugin/IPlugin.ts:9

Released under the MIT License.