mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
feat: add Popover API
This commit is contained in:
parent
2925db8676
commit
1a68743fcc
3 changed files with 4 additions and 1 deletions
|
@ -169,6 +169,8 @@ attributes! {
|
|||
placeholder "placeholder", // [],
|
||||
playsinline "playsinline", // [],
|
||||
popover "popover", // [], // [GlobalAttribute]
|
||||
popovertarget "popovertarget",
|
||||
popovertargetaction "popovertargetaction",
|
||||
poster "poster", // [],
|
||||
preload "preload", // [],
|
||||
radiogroup "radiogroup", // [],
|
||||
|
|
|
@ -210,7 +210,7 @@ html_self_closing_elements! {
|
|||
/// The `<img>` HTML element embeds an image into the document.
|
||||
img HtmlImageElement [alt, crossorigin, decoding, height, ismap, sizes, src, srcset, usemap, width],
|
||||
/// The `<input>` HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent. The `<input>` element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.
|
||||
input HtmlInputElement [accept, alt, autocomplete, capture, checked, disabled, form, formaction, formenctype, formmethod, formnovalidate, formtarget, height, list, max, maxlength, min, minlength, multiple, name, pattern, placeholder, readonly, required, size, src, step, r#type, value, width],
|
||||
input HtmlInputElement [accept, alt, autocomplete, capture, checked, disabled, form, formaction, formenctype, formmethod, formnovalidate, formtarget, height, list, max, maxlength, min, minlength, multiple, name, pattern, placeholder, popovertarget, popovertargetaction, readonly, required, size, src, step, r#type, value, width],
|
||||
/// The `<link>` HTML element specifies relationships between the current document and an external resource. This element is most commonly used to link to CSS, but is also used to establish site icons (both "favicon" style icons and icons for the home screen and apps on mobile devices) among other things.
|
||||
link HtmlLinkElement [r#as, blocking, crossorigin, fetchpriority, href, hreflang, imagesizes, imagesrcset, integrity, media, rel, referrerpolicy, sizes, r#type],
|
||||
/// The `<meta>` HTML element represents Metadata that cannot be represented by other HTML meta-related elements, like base, link, script, style or title.
|
||||
|
|
|
@ -407,6 +407,7 @@ generate_event_types! {
|
|||
animation start: AnimationEvent,
|
||||
aux click: MouseEvent,
|
||||
before input: InputEvent,
|
||||
before toggle: Event, // web_sys does not include `ToggleEvent`
|
||||
#[does_not_bubble]
|
||||
blur: FocusEvent,
|
||||
#[does_not_bubble]
|
||||
|
|
Loading…
Reference in a new issue