Skip to content

Commit

Permalink
chore(popover): added comment docs for the delay property and attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
nickonometry committed Feb 28, 2024
1 parent 69d28a6 commit 96b4915
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/popover/popover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ declare global {
* @property {number} longpressDelay - The delay in milliseconds before a longpress event is detected.
* @property {boolean} persistentHover - Whether or not the popover should remain open when the user hovers outside the popover.
* @property {number} hoverDismissDelay - The delay in milliseconds before the popover is dismissed when the user hovers outside of the popover.
* @property {number} delay - The delay in milliseconds before the popover is shown.
*
* @attribute {string} arrow - Whether or not the popover should render an arrow.
* @attribute {string} animation-type - The animation type to use for the popover. Valid values are `'none'`, `'fade'`, `'slide'`, and `'zoom'` (default).
* @attribute {string} trigger-type - The trigger type(s) to use for the popover. Valid values are `'click'` (default), `'hover'`, `'focus'`, and `'longpress'`. Multiple can be specified.
* @attribute {string} longpress-delay - The delay in milliseconds before a longpress event is detected.
* @attribute {string} persistent-hover - Whether or not the popover should remain open when the user hovers outside the popover.
* @attribute {string} hover-dismiss-delay - The delay in milliseconds before the popover is dismissed when the user hovers outside of the popover.
* @attribute {number} delay - The delay in milliseconds before the popover is shown.
*
* @event {CustomEvent<IPopoverToggleEventData} forge-popover-beforetoggle - Dispatches before the popover is toggled, and is cancelable.
* @event {CustomEvent<IPopoverToggleEventData} forge-popover-toggle - Dispatches after the popover is toggled.
Expand Down

0 comments on commit 96b4915

Please sign in to comment.