Class
NamePlugin
View sourceExtendsPlugin
Adds Name component support to an App.
Register this plugin to make Name available as a name component.
It depends on CorePlugin and ReflectPlugin.
Registering NamePlugin does not install missing dependencies
automatically.
Examples
import { App } from '@wimaengine/app'
import { CorePlugin } from '@wimaengine/core'
import { NamePlugin } from '@wimaengine/name'
import { ReflectPlugin } from '@wimaengine/reflect'
new App()
.registerPlugin(new ReflectPlugin())
.registerPlugin(new CorePlugin())
.registerPlugin(new NamePlugin())
.run()Constructor
Methods
register(app: App): void
View sourceEnables name component support for an App.
requires(): TypeId[]
View sourceReturns the plugin IDs required for name component support.
The app must already have CorePlugin and ReflectPlugin
registered. Registering this plugin does not install them automatically.
