Example #1
0
File: ko.go Project: theclapp/js
func (t *TemplateNodes) Item(idx int) *dom.Element {
	return dom.WrapElement(t.Index(idx))
}
Example #2
0
// New creates a Canvas instance
// el is the html element
func New(el *js.Object) *Canvas {
	return &Canvas{dom.WrapElement(el)}
}