Skip to content

Commit

Permalink
Handle null options
Browse files Browse the repository at this point in the history
  • Loading branch information
mfreed7 authored and domenic committed Nov 15, 2024
1 parent a4eac71 commit 68bd6c3
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -85539,10 +85539,16 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
false.</dd>
</dl>

<p>The
<dfn method for="HTMLElement"><code data-x="dom-showPopover">showPopover(<var>options</var>)</code></dfn>
method steps are to run <span>show popover</span> given <span>this</span>, true, and
<var>options</var>["<code data-x="dom-ShowPopoverOptions-source">source</code>"].</p>
<p>The <dfn method for="HTMLElement"><code
data-x="dom-showPopover">showPopover(<var>options</var>)</code></dfn> method steps are:</p>

<ol>
<li><p>Set <var>invoker</var> to <var>options</var>["<code
data-x="dom-ShowPopoverOptions-source">source</code>"] if it
<span data-x="map exists">exists</span>; otherwise, null.</p></li>

<li><p>Run <span>show popover</span> given <span>this</span>, true, and <var>invoker</var>.</p></li>
</ol>

<p>To <dfn>show popover</dfn>, given an <span data-x="HTML elements">HTML element</span>
<var>element</var>, a boolean <var>throwExceptions</var>, and an <span data-x="HTML elements">HTML
Expand Down

0 comments on commit 68bd6c3

Please sign in to comment.