Home
REST API
Quick Start
SDKs
Demos
Documentation
Support
Search
Preparing search index...
The search index is not available
baasic-sdk-javascript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"diModule"
DIModule
Class DIModule
Hierarchy
DIModule
Index
Properties
di
Modules
kernel
Methods
add
Module
bind
Handler
bind
Handler
With
Options
init
Properties
di
Modules
di
Modules
:
ContainerModule
[]
= []
kernel
kernel
:
Container
= new Container()
Methods
Private
add
Module
add
Module
(
module
:
any
)
:
void
Parameters
module:
any
Returns
void
Private
bind
Handler
bind
Handler<THandler>
(
type
:
symbol
, value
:
function
, defaultBinding
:
object
)
:
void
Type parameters
THandler
Parameters
type:
symbol
value:
function
(
)
:
THandler
Returns
THandler
defaultBinding:
object
Returns
void
Private
bind
Handler
With
Options
bind
Handler
With
Options<THandler, TOption>
(
type
:
symbol
, optionType
:
symbol
, value
:
function
, defaultBinding
:
object
)
:
void
Type parameters
THandler
TOption
Parameters
type:
symbol
optionType:
symbol
value:
function
(
)
:
THandler
|
TOption
Returns
THandler
|
TOption
defaultBinding:
object
Returns
void
init
init
(
app
:
IBaasicApp
, modules
:
any
[]
)
:
void
Parameters
app:
IBaasicApp
modules:
any
[]
Returns
void
Globals
"di
Module"
DIModule
di
Modules
kernel
add
Module
bind
Handler
bind
Handler
With
Options
init
Generated using
TypeDoc