Documentation ¶
Index ¶
- func CreateElement(el interface{}) (dom.Node, error)
- func Init(c *gas.Component, startPoint string) error
- func InitCustom(c *gas.C, startPoint string, newRenderer bool) error
- func KeepAlive()
- func ToGasEvent(domEvent dom.Event, isCheckbox bool) gas.Event
- func ToUniteObject(e dom.Value) gas.Object
- type BackEnd
- func (w *BackEnd) ChildNodes(el interface{}) []interface{}
- func (w *BackEnd) ConsoleError(a ...interface{})
- func (w *BackEnd) ConsoleLog(a ...interface{})
- func (w *BackEnd) ExecTask(task *gas.RenderTask) error
- func (w *BackEnd) ExecTasks(tasks []*gas.RenderTask)
- func (w *BackEnd) Executor()
- func (w *BackEnd) GetElement(c *gas.Element) interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateElement ¶
CreateElement render element
func ToGasEvent ¶
ToGasEvent convert dom.Event to gas.Event
Types ¶
type BackEnd ¶
type BackEnd struct {
// contains filtered or unexported fields
}
BackEnd backend for core library
func (*BackEnd) ChildNodes ¶
func (w *BackEnd) ChildNodes(el interface{}) []interface{}
ChildNodes return *dom.Element child nodes
func (*BackEnd) ConsoleError ¶
func (w *BackEnd) ConsoleError(a ...interface{})
ConsoleError console.error(a)
func (*BackEnd) ConsoleLog ¶
func (w *BackEnd) ConsoleLog(a ...interface{})
ConsoleLog console.log(a)
func (*BackEnd) ExecTask ¶
func (w *BackEnd) ExecTask(task *gas.RenderTask) error
ExecTask execute render task
func (*BackEnd) ExecTasks ¶
func (w *BackEnd) ExecTasks(tasks []*gas.RenderTask)
ExecTasks execute render tasks
func (*BackEnd) GetElement ¶
GetElement get dom.Element by element
Click to show internal directories.
Click to hide internal directories.