@swizzyweb/swizzy-web-service
Preparing search index...
IWebController
Interface IWebController<ROUTER_STATE, CONTROLLER_STATE>
Swizzy web controller interface.
interface
IWebController
<
ROUTER_STATE
,
CONTROLLER_STATE
>
{
action
:
string
;
method
:
RequestMethod
;
name
:
string
;
controller
()
:
WebControllerFunction
;
initialize
(
props
:
IWebControllerInitProps
<
ROUTER_STATE
>
)
:
Promise
<
void
>
;
installableController
()
:
InstallableController
<
CONTROLLER_STATE
>
;
toJson
()
:
any
;
toString
()
:
any
;
}
Type Parameters
ROUTER_STATE
CONTROLLER_STATE
Implemented by
WebController
Index
Properties
action
method
name
Methods
controller
initialize
installable
Controller
to
Json
to
String
Properties
action
action
:
string
method
method
:
RequestMethod
name
name
:
string
Methods
controller
controller
()
:
WebControllerFunction
Returns
WebControllerFunction
initialize
initialize
(
props
:
IWebControllerInitProps
<
ROUTER_STATE
>
)
:
Promise
<
void
>
Parameters
props
:
IWebControllerInitProps
<
ROUTER_STATE
>
Returns
Promise
<
void
>
installable
Controller
installableController
()
:
InstallableController
<
CONTROLLER_STATE
>
Returns
InstallableController
<
CONTROLLER_STATE
>
to
Json
toJson
()
:
any
Returns
any
to
String
toString
()
:
any
Returns
any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
action
method
name
Methods
controller
initialize
installable
Controller
to
Json
to
String
@swizzyweb/swizzy-web-service
Loading...
Swizzy web controller interface.