pub struct Label<'t> { /* private fields */ }Expand description
<label>: Label element
Implementations§
Source§impl<'t> Label<'t>
<label> items
impl<'t> Label<'t>
<label> items
Sourcepub fn cdata<'a, V>(&mut self, text: V) -> &mut Self
pub fn cdata<'a, V>(&mut self, text: V) -> &mut Self
Add character data content
These characters will be replaced with entities:
| Char | Entity |
|---|---|
& | & |
< | < |
> | > |
Sourcepub fn cdata_len<'a, V>(&mut self, text: V, len: usize) -> &mut Self
pub fn cdata_len<'a, V>(&mut self, text: V, len: usize) -> &mut Self
Add character data content with a maximum character limit
| Char | Entity |
|---|---|
& | & |
< | < |
> | > |
Add Button child element
Sourcepub fn comment<'v, V>(&mut self, com: V) -> &mut Self
pub fn comment<'v, V>(&mut self, com: V) -> &mut Self
Add a comment
These characters will be replaced with entities:
| Char | Entity |
|---|---|
- | ‐ |
< | < |
> | > |
Source§impl<'t> Label<'t>
Global attributes
impl<'t> Label<'t>
Global attributes
Sourcepub fn autocapitalize<'a, V>(&mut self, val: V) -> &mut Self
pub fn autocapitalize<'a, V>(&mut self, val: V) -> &mut Self
Add autocapitalize attribute
Sourcepub fn autocorrect<'a, V>(&mut self, val: V) -> &mut Self
pub fn autocorrect<'a, V>(&mut self, val: V) -> &mut Self
Add autocorrect attribute
Sourcepub fn contenteditable<'a, V>(&mut self, val: V) -> &mut Self
pub fn contenteditable<'a, V>(&mut self, val: V) -> &mut Self
Add contenteditable attribute
Sourcepub fn enterkeyhint<'a, V>(&mut self, val: V) -> &mut Self
pub fn enterkeyhint<'a, V>(&mut self, val: V) -> &mut Self
Add enterkeyhint attribute
Sourcepub fn exportparts<'a, V>(&mut self, val: V) -> &mut Self
pub fn exportparts<'a, V>(&mut self, val: V) -> &mut Self
Add exportparts attribute
Add hidden attribute
Sourcepub fn spellcheck<'a, V>(&mut self, val: V) -> &mut Self
pub fn spellcheck<'a, V>(&mut self, val: V) -> &mut Self
Add spellcheck attribute
Sourcepub fn aria_atomic<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_atomic<'a, V>(&mut self, val: V) -> &mut Self
Add aria-atomic attribute
Sourcepub fn aria_controls<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_controls<'a, V>(&mut self, val: V) -> &mut Self
Add aria-controls attribute
Sourcepub fn aria_current<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_current<'a, V>(&mut self, val: V) -> &mut Self
Add aria-current attribute
Sourcepub fn aria_describedby<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_describedby<'a, V>(&mut self, val: V) -> &mut Self
Add aria-describedby attribute
Sourcepub fn aria_description<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_description<'a, V>(&mut self, val: V) -> &mut Self
Add aria-description attribute
Sourcepub fn aria_details<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_details<'a, V>(&mut self, val: V) -> &mut Self
Add aria-details attribute
Sourcepub fn aria_disabled<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_disabled<'a, V>(&mut self, val: V) -> &mut Self
Add aria-disabled attribute
Sourcepub fn aria_errormessage<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_errormessage<'a, V>(&mut self, val: V) -> &mut Self
Add aria-errormessage attribute
Sourcepub fn aria_flowto<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_flowto<'a, V>(&mut self, val: V) -> &mut Self
Add aria-flowto attribute
Sourcepub fn aria_haspopup<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_haspopup<'a, V>(&mut self, val: V) -> &mut Self
Add aria-haspopup attribute
Add aria-hidden attribute
Sourcepub fn aria_invalid<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_invalid<'a, V>(&mut self, val: V) -> &mut Self
Add aria-invalid attribute
Sourcepub fn aria_keyshortcuts<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_keyshortcuts<'a, V>(&mut self, val: V) -> &mut Self
Add aria-keyshortcuts attribute
Sourcepub fn aria_label<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_label<'a, V>(&mut self, val: V) -> &mut Self
Add aria-label attribute
Sourcepub fn aria_labelledby<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_labelledby<'a, V>(&mut self, val: V) -> &mut Self
Add aria-labelledby attribute
Sourcepub fn aria_relevant<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_relevant<'a, V>(&mut self, val: V) -> &mut Self
Add aria-relevant attribute
Sourcepub fn aria_roledescription<'a, V>(&mut self, val: V) -> &mut Self
pub fn aria_roledescription<'a, V>(&mut self, val: V) -> &mut Self
Add aria-roledescription attribute