Struct silkenweb::elements::OlBuilder [−][src]
pub struct OlBuilder(_);
Implementations
impl OlBuilder
[src]
impl OlBuilder
[src]pub fn id(self, value: impl AttributeValue<String>) -> OlBuilder
[src]
pub fn class(self, value: impl AttributeValue<String>) -> OlBuilder
[src]
pub fn reversed(self, value: impl AttributeValue<bool>) -> OlBuilder
[src]
Specifies that the list’s items are in reverse order. Items will be numbered from high to low.
pub fn start(self, value: impl AttributeValue<u32>) -> OlBuilder
[src]
An integer to start counting from for the list items. Always an Arabic numeral (1, 2, 3, etc.), even when the numbering type is letters or Roman numerals. For example, to start numbering elements from the letter “d” or the Roman numeral “iv,” use start=“4”.
pub fn type_(self, value: impl AttributeValue<String>) -> OlBuilder
[src]
Sets the numbering type:
a
for lowercase lettersA
for uppercase lettersi
for lowercase Roman numeralsI
for uppercase Roman numerals1
for numbers (default)
The specified type is used for the entire list unless a different type attribute is used
on an enclosed <li>
element.
Note: Unless the type of the list number matters (like legal or technical documents where items are referenced by their number/letter), use the CSS list-style-type property instead.
impl OlBuilder
[src]
impl OlBuilder
[src]pub fn on_blur(
self,
f: impl FnMut(FocusEvent, HtmlOListElement) + 'static
) -> OlBuilder
[src]
self,
f: impl FnMut(FocusEvent, HtmlOListElement) + 'static
) -> OlBuilder
pub fn on_click(
self,
f: impl FnMut(MouseEvent, HtmlOListElement) + 'static
) -> OlBuilder
[src]
self,
f: impl FnMut(MouseEvent, HtmlOListElement) + 'static
) -> OlBuilder
pub fn on_change(
self,
f: impl FnMut(Event, HtmlOListElement) + 'static
) -> OlBuilder
[src]
self,
f: impl FnMut(Event, HtmlOListElement) + 'static
) -> OlBuilder
pub fn on_dblclick(
self,
f: impl FnMut(MouseEvent, HtmlOListElement) + 'static
) -> OlBuilder
[src]
self,
f: impl FnMut(MouseEvent, HtmlOListElement) + 'static
) -> OlBuilder
pub fn on_focusout(
self,
f: impl FnMut(FocusEvent, HtmlOListElement) + 'static
) -> OlBuilder
[src]
self,
f: impl FnMut(FocusEvent, HtmlOListElement) + 'static
) -> OlBuilder
pub fn on_input(
self,
f: impl FnMut(InputEvent, HtmlOListElement) + 'static
) -> OlBuilder
[src]
self,
f: impl FnMut(InputEvent, HtmlOListElement) + 'static
) -> OlBuilder
pub fn on_keydown(
self,
f: impl FnMut(KeyboardEvent, HtmlOListElement) + 'static
) -> OlBuilder
[src]
self,
f: impl FnMut(KeyboardEvent, HtmlOListElement) + 'static
) -> OlBuilder
pub fn on_keyup(
self,
f: impl FnMut(KeyboardEvent, HtmlOListElement) + 'static
) -> OlBuilder
[src]
self,
f: impl FnMut(KeyboardEvent, HtmlOListElement) + 'static
) -> OlBuilder
pub fn effect(self, f: impl Effect<HtmlOListElement>) -> OlBuilder
[src]
Trait Implementations
impl DomElement for OlBuilder
[src]
impl DomElement for OlBuilder
[src]type Target = HtmlOListElement
pub fn dom_element(&self) -> <OlBuilder as DomElement>::Target
[src]
impl From<OlBuilder> for ElementBuilder
[src]
impl From<OlBuilder> for ElementBuilder
[src]pub fn from(builder: OlBuilder) -> ElementBuilder
[src]
Auto Trait Implementations
impl !RefUnwindSafe for OlBuilder
impl !RefUnwindSafe for OlBuilder
impl !UnwindSafe for OlBuilder
impl !UnwindSafe for OlBuilder