Giter Club home page Giter Club logo

godom's Introduction

Siong-Ui Te (戴上為)

siongui

Go as primary programming languages for both frontend and backend. Notable projects:

  • paligo: Pāli Dictionary and Pāli Tipiṭaka SPA websites implemented in Go, hosted on GitHub Pages.
  • userpages: My blog for sharing. Hosted on GitHub Pages.
  • go-succinct-data-structure-trie: Succinct data structure for fast lookup and small space requirement. Used in paligo project.
  • godom: Frontend library for DOM manipulation in Go, compiled to JavaScript via GopherJS. Used in paligo project.
  • goef: Embed files in Go code. Used to build offline SPA websites in paligo project.
  • instago: Download/access photos, videos, stories, story highlights, following and followers of Instagram.
  • igdlcrx: Chrome extension to download Instagram posts and stories, written in Go.
  • tiktokgo: Download TikTok user avatar photo and video item.

Siong-Ui Te (戴上為)'s GitHub stats

Siong-Ui Te (戴上為)'s Top Languages

godom's People

Contributors

siongui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

godom's Issues

Missing LICENSE

Very interesting library and lots of work. Sadly not usable, as no LICENSE is given.
Maybe you could improve on that.

No obvious way to cast down to *Node to access some methods (eg. SetTextContent) ?

Apologies if it's my misunderstanding, but I have been having trouble figuring out how to call the SetTextContent() method on wasm.Value, as returned by GetElementByID(). How can I 'downcast' an element type to one that exposes *Node and its additional getters/setters?

eg.,

sel := Document.GetElementByID("selector")
sel.SetTextContent("Foo")
go build -o main.wasm main.go
# command-line-arguments
./main.go:19:5: sel.SetTextContent undefined (type wasm.Value has no field of method SetTextContent)
sel.(*Node).SetTextContent("Foo")
go build -o main.wasm main.go
# command-line-arguments
./main.go:19:5: invalid type assertion: sel.(*Node) (non-interface type wasm.Value on left)

Does the 'Call' facility mentioned allow this? I haven't figured out how to use it to down-cast to something that exposes SetTextContent().

I specifically want to use SetTextContent(), not SetInnerHTML().

Thanks,
-Russ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.