Top 1.8% dependent packages on proxy.golang.org
Top 1.2% dependent repos on proxy.golang.org
Top 4.8% forks on proxy.golang.org
proxy.golang.org : github.com/siongui/godom
Package godom aims to make DOM manipulation in Go as similar to JavaScript as possible. The Go code is compiled to JavaScript via GopherJS. This package is used for front-end programming. You can import godom as follows: Access dom element with id="foo" as follows: Or If something is not implemented in this library, you can use methods of *js.Object of GopherJS to manipulate JavaScript DOM API directly. For example, if **textContent** property of foo is not implemented, you can use Get method of *js.Object in GopherJS to get the **textContent** property as follows: If some DOM method is not implemented, you can use Call method provided by *js.Object in GopherJS. For example, if foo is an audio element and **play** method of foo is not implemented. You can use Call method of *js.Object in GopherJS to call **play** method of DOM audio element directly. You can also read the godoc of GopherJS:
      Registry
      -
      Source
      - Documentation
    - JSON
    - codemeta.json
    
    purl: pkg:golang/github.com/siongui/godom
      
 Keywords: 
        dom-manipulation
        , frontend
        , go
        , golang
        , gopherjs
      
License: Unlicense
        
Latest release: about 5 years ago
        
First release: about 5 years ago
      
Namespace: github.com/siongui
      
Dependent packages: 9
      
Dependent repositories: 19
    
      
Stars: 180 on GitHub
      
Forks: 21 on GitHub
      
See more repository details: repos.ecosyste.ms
      
Last synced: about 2 months ago