Skip to content

Commit bbd16d2

Browse files
author
Gianluca Carnielli
committed
Added comment about R2023a version
1 parent 932d78e commit bbd16d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

code/htmlbutton.m

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ function setup(obj)
9999
obj.HTMLComponent = uihtml(g);
100100
obj.HTMLComponent.HTMLSource = "button.html";
101101
obj.HTMLComponent.DataChangedFcn = @(~,~) notify(obj, "ButtonPushed");
102+
% from R2023a: obj.HTMLComponent.HTMLEventReceivedFcn = @(~,~) notify(obj, "ButtonPushed");
102103
end % setup
103104

104105
function update(obj)

0 commit comments

Comments
 (0)