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