Expand description
prelude
Re-exports§
pub use crate::html;pub use crate::html::attributes::key;pub use crate::html::attributes::attr;pub use crate::html::attributes::checked;pub use crate::html::attributes::class;pub use crate::html::attributes::classes;pub use crate::html::attributes::classes_flag;pub use crate::html::attributes::disabled;pub use crate::html::attributes::empty_attr;pub use crate::html::attributes::type;pub use crate::html::attributes::styles_flag;pub use crate::html::br;pub use crate::html::comment;pub use crate::html::hr;pub use crate::html::img;pub use crate::html::input;pub use crate::html::lazy_view_if;pub use crate::html::text;pub use crate::html::units::ch;pub use crate::html::units::cm;pub use crate::html::units::deg;pub use crate::html::units::ex;pub use crate::html::units::grad;pub use crate::html::units::mm;pub use crate::html::units::ms;pub use crate::html::units::percent;pub use crate::html::units::pt;pub use crate::html::units::px;pub use crate::html::units::rad;pub use crate::html::units::rgb;pub use crate::html::units::rgba;pub use crate::html::units::s;pub use crate::html::units::turn;pub use crate::html::units::vh;pub use crate::html::units::vw;pub use crate::html::view_if;pub use crate::svg;pub use crate::vdom::diff;pub use crate::vdom::diff;pub use crate::vdom::Attribute;pub use crate::vdom::AttributeValue;pub use crate::vdom::Element;pub use crate::vdom::EventCallback;pub use crate::vdom::Node;pub use crate::vdom::Patch;pub use crate::vdom::TreePath;pub use crate::vdom::Value;pub use crate::dom::Application;pub use crate::dom::SkipDiff;pub use crate::dom::skip_if;pub use crate::dom::events;pub use crate::dom::Program;pub use crate::dom::document;pub use crate::dom::Document;pub use crate::dom::now;pub use crate::dom::window;pub use crate::dom::Window;pub use crate::dom::Dispatch;pub use crate::dom::AnimationFrameHandle;pub use crate::dom::Component;pub use crate::dom::StatefulComponent;pub use crate::dom::Effects;pub use crate::dom::Measurements;pub use crate::dom::MountAction;pub use crate::dom::MountTarget;pub use crate::dom::Cmd;pub use crate::dom::TimeoutCallbackHandle;pub use crate::dom::DomAttrValue;pub use crate::dom::stateful_component;pub use crate::dom::Time;pub use web_sys;pub use wasm_bindgen_futures;pub use js_sys;pub use wasm_bindgen;pub use serde_wasm_bindgen;pub use crate::html::commons::*;pub use crate::svg::attributes::commons::*;pub use crate::svg::attributes::special::*;pub use crate::svg::commons::*;pub use crate::svg::special::*;pub use crate::html::events::*;
Constants§
- HTML_
ATTRS - These are most commonly used html attributes such as class, id, etc
Functions§
- accept
- Creates html accept attribute
- accesskey
- Creates html accesskey attribute
- action
- Creates html action attribute
- align
- Creates html align attribute
- allow
- Creates html allow attribute
- alt
- Creates html alt attribute
- autocapitalize
- Creates html autocapitalize attribute
- autocomplete
- Creates html autocomplete attribute
- autofocus
- Creates html autofocus attribute
- autoplay
- Creates html autoplay attribute
- background
- Creates html background attribute
- bgcolor
- Creates html bgcolor attribute
- border
- Creates html border attribute
- buffered
- Creates html buffered attribute
- challenge
- Creates html challenge attribute
- charset
- Creates html charset attribute
- class
- Creates html class attribute
- codebase
- Creates html codebase attribute
- color
- Creates html color attribute
- cols
- Creates html cols attribute
- colspan
- Creates html colspan attribute
- content
- Creates html content attribute
- contenteditable
- Creates html contenteditable attribute
- contextmenu
- Creates html contextmenu attribute
- controls
- Creates html controls attribute
- coords
- Creates html coords attribute
- crossorigin
- Creates html crossorigin attribute
- csp
- Creates html csp attribute
- datetime
- Creates html datetime attribute
- decoding
- Creates html decoding attribute
- default
- Creates html default attribute
- defer
- Creates html defer attribute
- dir
- Creates html dir attribute
- dirname
- Creates html dirname attribute
- download
- Creates html download attribute
- draggable
- Creates html draggable attribute
- dropzone
- Creates html dropzone attribute
- enctype
- Creates html enctype attribute
- enterkeyhint
- Creates html enterkeyhint attribute
- formaction
- Creates html formaction attribute
- formnovalidate
- Creates html formnovalidate attribute
- headers
- Creates html headers attribute
- height
- Creates html height attribute
- hidden
- Creates html hidden attribute
- high
- Creates html high attribute
- href
- Creates html href attribute
- hreflang
- Creates html hreflang attribute
- http
- Creates html http attribute
- icon
- Creates html icon attribute
- id
- Creates html id attribute
- importance
- Creates html importance attribute
- inputmode
- Creates html inputmode attribute
- integrity
- Creates html integrity attribute
- intrinsicsize
- Creates html intrinsicsize attribute
- ismap
- Creates html ismap attribute
- itemprop
- Creates html itemprop attribute
- keytype
- Creates html keytype attribute
- kind
- Creates html kind attribute
- lang
- Creates html lang attribute
- language
- Creates html language attribute
- list
- Creates html list attribute
- loading
- Creates html loading attribute
- low
- Creates html low attribute
- manifest
- Creates html manifest attribute
- max
- Creates html max attribute
- maxlength
- Creates html maxlength attribute
- media
- Creates html media attribute
- method
- Creates html method attribute
- min
- Creates html min attribute
- minlength
- Creates html minlength attribute
- multiple
- Creates html multiple attribute
- muted
- Creates html muted attribute
- name
- Creates html name attribute
- novalidate
- Creates html novalidate attribute
- optimum
- Creates html optimum attribute
- ping
- Creates html ping attribute
- placeholder
- Creates html placeholder attribute
- poster
- Creates html poster attribute
- preload
- Creates html preload attribute
- radiogroup
- Creates html radiogroup attribute
- readonly
- Creates html readonly attribute
- referrerpolicy
- Creates html referrerpolicy attribute
- rel
- Creates html rel attribute
- required
- Creates html required attribute
- reversed
- Creates html reversed attribute
- rows
- Creates html rows attribute
- rowspan
- Creates html rowspan attribute
- sandbox
- Creates html sandbox attribute
- scope
- Creates html scope attribute
- scoped
- Creates html scoped attribute
- selected
- Creates html selected attribute
- shape
- Creates html shape attribute
- size
- Creates html size attribute
- sizes
- Creates html sizes attribute
- slot
- Creates html slot attribute
- spellcheck
- Creates html spellcheck attribute
- src
- Creates html src attribute
- srcdoc
- Creates html srcdoc attribute
- srclang
- Creates html srclang attribute
- srcset
- Creates html srcset attribute
- start
- Creates html start attribute
- step
- Creates html step attribute
- tabindex
- Creates html tabindex attribute
- target
- Creates html target attribute
- title
- Creates html title attribute
- translate
- Creates html translate attribute
- usemap
- Creates html usemap attribute
- value
- Creates html value attribute
- width
- Creates html width attribute
- wrap
- Creates html wrap attribute
Attribute Macros§
- wasm_
bindgen - A list of all the attributes can be found here: https://wasm-bindgen.github.io/wasm-bindgen/reference/attributes/index.html