Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdata committed Jun 20, 2024
1 parent beae32e commit b34e2eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions clickhandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ package jaws
import "github.com/linkdata/jaws/what"

type ClickHandler interface {
// JawsClick is called when an Element's HTML element or something within it
// is clicked in the browser.
//
// The name parameter is taken from the first 'name' HTML attribute or HTML
// 'button' textContent found when traversing the DOM. It may be empty.
JawsClick(e *Element, name string) (err error)
}

Expand Down

0 comments on commit b34e2eb

Please sign in to comment.