package
Version:
v0.1.6
Opens a new window with list of versions in this module.
Published: Dec 17, 2017
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
File is a reference to the vdom library itself
js:"File,omit"
Pragma is a reference to how elements get created
js:"Pragma,omit"
String turns the component into a string
func Use(pragma, filepath string)
Use fn
js:"Use,omit"
type Child interface {
Render() Node
}
Child interface
type Component interface {
Render() Node
SetState(state interface{})
ForceUpdate()
}
Component struct
type Node interface {
String() string
}
Node interface
Text struct
js:"text,omit"
String returns the text node value
Source Files
¶
Click to show internal directories.
Click to hide internal directories.