@brimp/brimp API
Tutorials
Brimp docs
Preparing search index...
Plugin
Class Plugin
Implements
PluginDescriptor
Index
Constructors
constructor
Properties
handlers
name
source
Methods
from
File
Constructors
constructor
new
Plugin
(
name
:
string
,
source
:
string
,
handlers
?:
Record
<
string
,
HostHandler
>
,
options
?:
JSONValue
,
setup
?:
()
=>
PluginSessionScope
,
)
:
Plugin
Parameters
name
:
string
source
:
string
Optional
handlers
:
Record
<
string
,
HostHandler
>
Optional
options
:
JSONValue
Optional
setup
:
()
=>
PluginSessionScope
Returns
Plugin
Properties
Readonly
handlers
handlers
:
Record
<
string
,
HostHandler
>
Readonly
name
name
:
string
Readonly
source
source
:
string
Methods
Static
from
File
fromFile
(
path
:
string
|
URL
,
configuration
:
{
handlers
?:
Record
<
string
,
HostHandler
>
;
name
:
string
;
options
?:
JSONValue
;
setup
?:
()
=>
PluginSessionScope
;
}
,
)
:
Plugin
Parameters
path
:
string
|
URL
configuration
:
{
handlers
?:
Record
<
string
,
HostHandler
>
;
name
:
string
;
options
?:
JSONValue
;
setup
?:
()
=>
PluginSessionScope
;
}
Returns
Plugin
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
handlers
name
source
Methods
from
File
Tutorials
Brimp docs
@brimp/brimp API
Loading...