Example plugin API for the dynamic-plugin-framework.
import {
EXTENSION_POINT_1,
ExtensionPoint1,
} from "https://deno.land/x/flowscripter_example_plugin_api/mod.ts";
// ExtensionPoint1 is identified by EXTENSION_POINT_1 identifier
class MyExtensionPointImplementation implements ExtensionPoint1 {
public sayHello(): void {
// greetings...
}
}
Lint: deno fmt
classDiagram
class ExtensionPoint1 {
<<interface>>
sayHello()
}
Refer to the dynamic-plugin-framework for an overview of what this example is demonstrating.
Link to auto-generated API docs for the library:
MIT © Flowscripter