pub struct button {
pub attributes: <button as TypedElement>::Attributes,
pub data_attributes: Vec<(String, Option<String>), Global>,
pub aria_attributes: Vec<(String, Option<String>), Global>,
}
Available on crate feature
typed
only.Fields§
§attributes: <button as TypedElement>::Attributes
§data_attributes: Vec<(String, Option<String>), Global>
§aria_attributes: Vec<(String, Option<String>), Global>
Trait Implementations§
§type Attributes = ButtonAttributes
type Attributes = ButtonAttributes
The attributes of the element.
source§fn from_attributes(
attributes: <button as TypedElement>::Attributes,
data_attributes: Vec<(String, Option<String>), Global>,
aria_attributes: Vec<(String, Option<String>), Global>
) -> button
fn from_attributes( attributes: <button as TypedElement>::Attributes, data_attributes: Vec<(String, Option<String>), Global>, aria_attributes: Vec<(String, Option<String>), Global> ) -> button
Create an element from its attributes.