Skip to content

Releases

Version 0.3.1

Version 0.3.1 Pre-release
Pre-release

Choose a tag to compare

@albrow albrow released this 20 May 19:21

This version updates the contribution guidelines in CONTRIBUTING.md. There are no actual code changes.

Version 0.3.0

Version 0.3.0 Pre-release
Pre-release

Choose a tag to compare

@albrow albrow released this 31 Aug 19:49

This release adds the InsertBefore and InsertBeforeEl functions. It is 100% backwards-compatible.

Version 0.2.0

Version 0.2.0 Pre-release
Pre-release

Choose a tag to compare

@albrow albrow released this 27 Jul 01:46

This releases introduces some new helper functions for adding and removing events from a view. Here's some example usage:

// Add a click listener on the button element, which is a child of itemView.
listener := view.AddEventListener(itemView, "click", "#button", func(ev dom.Event) {
    // Use ev.CurrentTarget to get the element itself
    log.Printf("%+v was clicked!", ev.CurrentTarget())
}
// If we want to remove the event listener later, we can call listener.Remove()
listener.Remove()

Full documentation is available on godoc.org.

Full Changelog

  • Implemented AddEventListener and related methods to make it easy to add and remove event listeners to child elements of a view.
  • Updated README, documentation, and CONTRIBUTING.

Version 0.1.0

Version 0.1.0 Pre-release
Pre-release

Choose a tag to compare

@albrow albrow released this 16 May 02:45

This is the initial release following the migration from github.com/soroushjp to github.com/go-humble and the split into stand-alone packages.

See the README for a list of features, a getting started guide, and more information.