Skip to content

Commit

Permalink
node manager update html event handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed Oct 4, 2023
1 parent 855cf7d commit 656276e
Show file tree
Hide file tree
Showing 4 changed files with 592 additions and 2 deletions.
6 changes: 6 additions & 0 deletions pkg/app/gen/html.go
Original file line number Diff line number Diff line change
Expand Up @@ -2357,6 +2357,11 @@ func writeStruct(w io.Writer, t tag) {
return e
}
func (e *html%s) setEvents(v eventHandlers) HTML {
e.eventHandlers = v
return e
}
func (e *html%s) setParent(v UI) UI {
e.parentElement = v
return e
Expand All @@ -2366,6 +2371,7 @@ func writeStruct(w io.Writer, t tag) {
t.Name,
t.Name,
t.Name,
t.Name,
)
}

Expand Down
1 change: 1 addition & 0 deletions pkg/app/html.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ type HTML interface {
attrs() attributes
setAttrs(attributes) HTML
events() eventHandlers
setEvents(eventHandlers) HTML
setDepth(uint) UI
setJSElement(Value) HTML
parent() UI
Expand Down
Loading

0 comments on commit 656276e

Please sign in to comment.