GitHub
Preparing search index...
The search index is not available
Ditox.js
Ditox.js
ditox
BindModuleOptions
Type alias BindModuleOptions
Bind
Module
Options
:
{
scope
?:
"scoped"
|
"singleton"
;
}
Options for module binding.
scope
types:
singleton
-
This is the default
. The value is created and cached by the most distant parent container which owns the factory function.
scoped
- The value is created and cached by the nearest container which owns the factory function.
Type declaration
Optional
scope
?:
"scoped"
|
"singleton"
Settings
Theme
OS
Light
Dark
Modules
Ditox.js
ditox
ditox-
react
Resolver
Error
Bind
Module
Options
Container
Factory
Options
Factory
Scope
Module
Module
Binding
Entry
Module
Declaration
Token
bind
Module
bind
Modules
bind
Multi
Value
create
Container
declare
Module
declare
Module
Bindings
injectable
injectable
Class
is
Token
optional
resolve
Value
resolve
Values
token
try
Resolve
Value
try
Resolve
Values
Generated using
TypeDoc
Options for module binding.
scope
types:singleton
- This is the default. The value is created and cached by the most distant parent container which owns the factory function.scoped
- The value is created and cached by the nearest container which owns the factory function.