pub struct select {Show 34 fields
pub autocomplete: DomStrAttr,
pub disabled: DomBoolAttr,
pub multiple: DomBoolAttr,
pub name: DomStrAttr,
pub required: DomBoolAttr,
pub size: DomU32Attr,
pub id: DomStrAttr,
pub title: DomStrAttr,
pub hidden: DomBoolAttr,
pub touch_start: DomEvent<TouchStart>,
pub touch_move: DomEvent<TouchMove>,
pub touch_end: DomEvent<TouchEnd>,
pub touch_cancel: DomEvent<TouchCancel>,
pub mouse_down: DomEvent<MouseDown>,
pub mouse_up: DomEvent<MouseUp>,
pub mouse_move: DomEvent<MouseMove>,
pub mouse_enter: DomEvent<MouseEnter>,
pub mouse_leave: DomEvent<MouseLeave>,
pub click: DomEvent<Click>,
pub tap: DomEvent<Tap>,
pub long_tap: DomEvent<LongTap>,
pub cancel_tap: DomEvent<CancelTap>,
pub scroll: DomEvent<Scroll>,
pub animation_start: DomEvent<AnimationStart>,
pub animation_iteration: DomEvent<AnimationIteration>,
pub animation_end: DomEvent<AnimationEnd>,
pub animation_cancel: DomEvent<AnimationCancel>,
pub transition_run: DomEvent<TransitionRun>,
pub transition_start: DomEvent<TransitionStart>,
pub transition_end: DomEvent<TransitionEnd>,
pub transition_cancel: DomEvent<TransitionCancel>,
pub class: DomClassList,
pub style: DomStyleList,
pub attr: DomCustomAttrs,
/* private fields */
}Expand description
The HTML <select> element.
Fields§
§autocomplete: DomStrAttrThe autocomplete attribute.
disabled: DomBoolAttrThe disabled attribute.
multiple: DomBoolAttrThe multiple attribute.
name: DomStrAttrThe name attribute.
required: DomBoolAttrThe required attribute.
size: DomU32AttrThe size attribute.
id: DomStrAttrThe id attribute.
title: DomStrAttrThe title attribute.
The hidden attribute.
touch_start: DomEvent<TouchStart>The touchstart event.
touch_move: DomEvent<TouchMove>The touchmove event.
touch_end: DomEvent<TouchEnd>The touchend event.
touch_cancel: DomEvent<TouchCancel>The touchcancel event.
mouse_down: DomEvent<MouseDown>The mousedown event.
mouse_up: DomEvent<MouseUp>The mouseup event.
mouse_move: DomEvent<MouseMove>The mousemove event.
mouse_enter: DomEvent<MouseEnter>The mouseenter event.
mouse_leave: DomEvent<MouseLeave>The mouseleave event.
click: DomEvent<Click>The click event.
tap: DomEvent<Tap>The tap event.
long_tap: DomEvent<LongTap>The longtap event.
cancel_tap: DomEvent<CancelTap>The canceltap event.
scroll: DomEvent<Scroll>The scroll event.
animation_start: DomEvent<AnimationStart>The animationstart event.
animation_iteration: DomEvent<AnimationIteration>The animationiteration event.
animation_end: DomEvent<AnimationEnd>The animationend event.
animation_cancel: DomEvent<AnimationCancel>The animationcancel event.
transition_run: DomEvent<TransitionRun>The transitionrun event.
transition_start: DomEvent<TransitionStart>The transitionstart event.
transition_end: DomEvent<TransitionEnd>The transitionend event.
transition_cancel: DomEvent<TransitionCancel>The transitioncancel event.
class: DomClassListThe class of the element.
style: DomStyleListThe style of the element.
attr: DomCustomAttrsThe custom attributes of the element.
Trait Implementations§
Source§impl AsElementTag for select
impl AsElementTag for select
Source§type SlotChildren = StaticSingleSlot<ForestTokenAddr, Box<[DynNode]>>
type SlotChildren = StaticSingleSlot<ForestTokenAddr, Box<[DynNode]>>
Source§impl BackendComponent<DomBackend> for select
impl BackendComponent<DomBackend> for select
Source§type UpdateTarget = select
type UpdateTarget = select
Source§type UpdateContext = DomElement
type UpdateContext = DomElement
Source§fn init<'b>(
_backend_context: &'b BackendContext<DomBackend>,
owner: &'b mut ForestNodeMut<'_, DomGeneralElement>,
_owner_weak: &'b Box<dyn OwnerWeak>,
) -> Result<(Self, ForestNodeRc<DomGeneralElement>), Error>where
Self: Sized,
fn init<'b>(
_backend_context: &'b BackendContext<DomBackend>,
owner: &'b mut ForestNodeMut<'_, DomGeneralElement>,
_owner_weak: &'b Box<dyn OwnerWeak>,
) -> Result<(Self, ForestNodeRc<DomGeneralElement>), Error>where
Self: Sized,
Source§fn create<'b>(
&'b mut self,
_backend_context: &'b BackendContext<DomBackend>,
owner: &'b mut ForestNodeMut<'_, DomGeneralElement>,
update_fn: Box<dyn FnOnce(&mut Self, &mut Self::UpdateContext) + 'b>,
slot_fn: &mut dyn FnMut(&mut ForestNodeMut<'_, DomGeneralElement>, &ForestToken, &Self::SlotData) -> Result<(), Error>,
) -> Result<(), Error>
fn create<'b>( &'b mut self, _backend_context: &'b BackendContext<DomBackend>, owner: &'b mut ForestNodeMut<'_, DomGeneralElement>, update_fn: Box<dyn FnOnce(&mut Self, &mut Self::UpdateContext) + 'b>, slot_fn: &mut dyn FnMut(&mut ForestNodeMut<'_, DomGeneralElement>, &ForestToken, &Self::SlotData) -> Result<(), Error>, ) -> Result<(), Error>
Source§fn apply_updates<'b>(
&'b mut self,
_backend_context: &'b BackendContext<DomBackend>,
owner: &'b mut ForestNodeMut<'_, <DomBackend as Backend>::GeneralElement>,
update_fn: Box<dyn FnOnce(&mut Self, &mut Self::UpdateContext) + 'b>,
slot_fn: &mut dyn FnMut(SlotChange<&mut ForestNodeMut<'_, DomGeneralElement>, &ForestToken, &Self::SlotData>) -> Result<(), Error>,
) -> Result<(), Error>
fn apply_updates<'b>( &'b mut self, _backend_context: &'b BackendContext<DomBackend>, owner: &'b mut ForestNodeMut<'_, <DomBackend as Backend>::GeneralElement>, update_fn: Box<dyn FnOnce(&mut Self, &mut Self::UpdateContext) + 'b>, slot_fn: &mut dyn FnMut(SlotChange<&mut ForestNodeMut<'_, DomGeneralElement>, &ForestToken, &Self::SlotData>) -> Result<(), Error>, ) -> Result<(), Error>
Auto Trait Implementations§
impl !Freeze for select
impl !RefUnwindSafe for select
impl !Send for select
impl !Sync for select
impl Unpin for select
impl UnwindSafe for select
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> DomElementExt for Twhere
T: DomElementBase,
impl<T> DomElementExt for Twhere
T: DomElementBase,
Source§fn dom_element(&self) -> &Element
fn dom_element(&self) -> &Element
Source§impl<S, T> PropAsRef<S> for T
impl<S, T> PropAsRef<S> for T
Source§fn property_as_ref(&self) -> &S
fn property_as_ref(&self) -> &S
&Self as &S .Source§fn property_to_owned(s: &S) -> T
fn property_to_owned(s: &S) -> T
&S as a new Self .