HTML Attributes
HTML popovertargetaction attribute
Specifies the action a popover invoker performs. The default is toggle. The target must be identified by popovertarget. Applicable elements include: <button>, <input>. Check each element’s value rules.
Formal Syntax & Structure
html syntaxhtml
popovertargetaction="show"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| popovertargetaction | enumerated: toggle, show, hide | Specifies the action a popover invoker performs. The default is toggle. The target must be identified by popovertarget. |
Working Example
Example Snippethtml
<button popovertarget="info" popovertargetaction="show">Show</button><div id="info" popover>Information</div>