Trilium Frontend API
Preparing search index...
<internal>
ViewContext
Interface ViewContext
interface
ViewContext
{
baseId
:
string
;
calendarApi
:
CalendarApiImpl
;
dateEnv
:
DateEnv
;
dateProfileGenerator
:
DateProfileGenerator
;
emitter
:
Emitter
<
Required
<
CalendarListeners
>
>
;
nowManager
:
CalendarNowManager
;
options
:
ViewOptionsRefined
;
pluginHooks
:
PluginHooks
;
registerInteractiveComponent
:
(
component
:
DateComponent
<
any
>
,
settingsInput
:
InteractionSettingsInput
,
)
=>
void
;
unregisterInteractiveComponent
:
(
component
:
DateComponent
<
any
>
)
=>
void
;
viewApi
:
ViewImpl
;
viewSpec
:
ViewSpec
;
dispatch
(
action
:
Action
)
:
void
;
getCurrentData
()
:
CalendarData
;
}
Hierarchy (
View Summary
)
CalendarContext
ViewContext
Index
Properties
base
Id
calendar
Api
date
Env
date
Profile
Generator
emitter
now
Manager
options
plugin
Hooks
register
Interactive
Component
unregister
Interactive
Component
view
Api
view
Spec
Methods
dispatch
get
Current
Data
Properties
base
Id
baseId
:
string
calendar
Api
calendarApi
:
CalendarApiImpl
date
Env
dateEnv
:
DateEnv
date
Profile
Generator
dateProfileGenerator
:
DateProfileGenerator
emitter
emitter
:
Emitter
<
Required
<
CalendarListeners
>
>
now
Manager
nowManager
:
CalendarNowManager
options
options
:
ViewOptionsRefined
plugin
Hooks
pluginHooks
:
PluginHooks
register
Interactive
Component
registerInteractiveComponent
:
(
component
:
DateComponent
<
any
>
,
settingsInput
:
InteractionSettingsInput
,
)
=>
void
unregister
Interactive
Component
unregisterInteractiveComponent
:
(
component
:
DateComponent
<
any
>
)
=>
void
view
Api
viewApi
:
ViewImpl
view
Spec
viewSpec
:
ViewSpec
Methods
dispatch
dispatch
(
action
:
Action
)
:
void
Parameters
action
:
Action
Returns
void
get
Current
Data
getCurrentData
()
:
CalendarData
Returns
CalendarData
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
base
Id
calendar
Api
date
Env
date
Profile
Generator
emitter
now
Manager
options
plugin
Hooks
register
Interactive
Component
unregister
Interactive
Component
view
Api
view
Spec
Methods
dispatch
get
Current
Data
Trilium Frontend API
Loading...