Documentation
¶
Index ¶
- Constants
- func LoadComponentTemplate(templateFs []byte) (string, error)
- func RegisterPlugin(p Plugin)
- func SetLogger(l Logger)
- func TriggerMount(c Component)
- func TriggerRouter(path string)
- func TriggerStore(module, store, key string, value interface{})
- func TriggerTemplate(componentID, html string)
- func TriggerUnmount(c Component)
- type App
- type Component
- type Logger
- type Plugin
Constants ¶
View Source
const Version = "v0.1.3"
Variables ¶
This section is empty.
Functions ¶
func LoadComponentTemplate ¶
func RegisterPlugin ¶
func RegisterPlugin(p Plugin)
func SetLogger ¶
func SetLogger(l Logger)
SetLogger allows applications to replace the default logger.
func TriggerMount ¶
func TriggerMount(c Component)
func TriggerRouter ¶
func TriggerRouter(path string)
func TriggerStore ¶
func TriggerStore(module, store, key string, value interface{})
func TriggerTemplate ¶
func TriggerTemplate(componentID, html string)
func TriggerUnmount ¶
func TriggerUnmount(c Component)
Types ¶
type App ¶
type App struct{}
App is a stub holder for callbacks.
func (*App) RegisterLifecycle ¶
func (*App) RegisterRouter ¶
func (*App) RegisterStore ¶
func (*App) RegisterTemplate ¶
Click to show internal directories.
Click to hide internal directories.