-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[draft] Implement the popover
API.
#1734
base: master
Are you sure you want to change the base?
Conversation
method showPopover : unit meth | ||
|
||
method showPopover_options : _ -> unit meth | ||
|
||
method togglePopover : bool t meth | ||
|
||
method togglePopover_force : bool t -> bool t meth | ||
|
||
method togglePopover_options : _ -> bool t meth | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the specs, these methods accept a dictionary as a parameter for passing options. How would that be reflected in Js_of_ocaml?
method onbeforetoggle : ('self t, toggleEvent t) event_listener writeonly_prop | ||
|
||
method ontoggle : ('self t, toggleEvent t) event_listener writeonly_prop | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are similar methods related to event handlers in this file that have the prop
type instead of writeonly_prop
. In fact, the ontoggle
method initially used the former type. Is this new version correct?
Hello,
This PR adds support for the
popover
API.See:
Please let me know of any issue; in fact, I would appreciate your input regarding a couple things (see below).
Cheers,