Struct web_sys::ScrollAreaEvent
source · #[repr(transparent)]pub struct ScrollAreaEvent { /* private fields */ }
Expand description
The ScrollAreaEvent
object
This API requires the following crate features to be activated: ScrollAreaEvent
Implementations§
source§impl ScrollAreaEvent
impl ScrollAreaEvent
sourcepub fn init_scroll_area_event(&self, type_: &str)
pub fn init_scroll_area_event(&self, type_: &str)
The initScrollAreaEvent()
method
This API requires the following crate features to be activated: ScrollAreaEvent
source§impl ScrollAreaEvent
impl ScrollAreaEvent
sourcepub fn init_scroll_area_event_with_can_bubble(
&self,
type_: &str,
can_bubble: bool
)
pub fn init_scroll_area_event_with_can_bubble(
&self,
type_: &str,
can_bubble: bool
)
The initScrollAreaEvent()
method
This API requires the following crate features to be activated: ScrollAreaEvent
source§impl ScrollAreaEvent
impl ScrollAreaEvent
sourcepub fn init_scroll_area_event_with_can_bubble_and_cancelable(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool
)
pub fn init_scroll_area_event_with_can_bubble_and_cancelable(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool
)
The initScrollAreaEvent()
method
This API requires the following crate features to be activated: ScrollAreaEvent
source§impl ScrollAreaEvent
impl ScrollAreaEvent
source§impl ScrollAreaEvent
impl ScrollAreaEvent
source§impl ScrollAreaEvent
impl ScrollAreaEvent
sourcepub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
view: Option<&Window>,
detail: i32,
x: f32
)
pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
view: Option<&Window>,
detail: i32,
x: f32
)
The initScrollAreaEvent()
method
This API requires the following crate features to be activated: ScrollAreaEvent
, Window
source§impl ScrollAreaEvent
impl ScrollAreaEvent
sourcepub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
view: Option<&Window>,
detail: i32,
x: f32,
y: f32
)
pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
view: Option<&Window>,
detail: i32,
x: f32,
y: f32
)
The initScrollAreaEvent()
method
This API requires the following crate features to be activated: ScrollAreaEvent
, Window
source§impl ScrollAreaEvent
impl ScrollAreaEvent
sourcepub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
view: Option<&Window>,
detail: i32,
x: f32,
y: f32,
width: f32
)
pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
view: Option<&Window>,
detail: i32,
x: f32,
y: f32,
width: f32
)
The initScrollAreaEvent()
method
This API requires the following crate features to be activated: ScrollAreaEvent
, Window
source§impl ScrollAreaEvent
impl ScrollAreaEvent
sourcepub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width_and_height(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
view: Option<&Window>,
detail: i32,
x: f32,
y: f32,
width: f32,
height: f32
)
pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width_and_height(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
view: Option<&Window>,
detail: i32,
x: f32,
y: f32,
width: f32,
height: f32
)
The initScrollAreaEvent()
method
This API requires the following crate features to be activated: ScrollAreaEvent
, Window
source§impl ScrollAreaEvent
impl ScrollAreaEvent
source§impl ScrollAreaEvent
impl ScrollAreaEvent
source§impl ScrollAreaEvent
impl ScrollAreaEvent
Trait Implementations§
source§impl AsRef<Event> for ScrollAreaEvent
impl AsRef<Event> for ScrollAreaEvent
source§impl AsRef<JsValue> for ScrollAreaEvent
impl AsRef<JsValue> for ScrollAreaEvent
source§impl AsRef<Object> for ScrollAreaEvent
impl AsRef<Object> for ScrollAreaEvent
source§impl AsRef<UiEvent> for ScrollAreaEvent
impl AsRef<UiEvent> for ScrollAreaEvent
source§impl Clone for ScrollAreaEvent
impl Clone for ScrollAreaEvent
source§fn clone(&self) -> ScrollAreaEvent
fn clone(&self) -> ScrollAreaEvent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ScrollAreaEvent
impl Debug for ScrollAreaEvent
source§impl From<JsValue> for ScrollAreaEvent
impl From<JsValue> for ScrollAreaEvent
source§fn from(obj: JsValue) -> ScrollAreaEvent
fn from(obj: JsValue) -> ScrollAreaEvent
source§impl From<ScrollAreaEvent> for Event
impl From<ScrollAreaEvent> for Event
source§fn from(obj: ScrollAreaEvent) -> Event
fn from(obj: ScrollAreaEvent) -> Event
source§impl From<ScrollAreaEvent> for JsValue
impl From<ScrollAreaEvent> for JsValue
source§fn from(obj: ScrollAreaEvent) -> JsValue
fn from(obj: ScrollAreaEvent) -> JsValue
source§impl From<ScrollAreaEvent> for Object
impl From<ScrollAreaEvent> for Object
source§fn from(obj: ScrollAreaEvent) -> Object
fn from(obj: ScrollAreaEvent) -> Object
source§impl From<ScrollAreaEvent> for UiEvent
impl From<ScrollAreaEvent> for UiEvent
source§fn from(obj: ScrollAreaEvent) -> UiEvent
fn from(obj: ScrollAreaEvent) -> UiEvent
source§impl FromWasmAbi for ScrollAreaEvent
impl FromWasmAbi for ScrollAreaEvent
source§impl<'a> IntoWasmAbi for &'a ScrollAreaEvent
impl<'a> IntoWasmAbi for &'a ScrollAreaEvent
source§impl IntoWasmAbi for ScrollAreaEvent
impl IntoWasmAbi for ScrollAreaEvent
source§impl JsCast for ScrollAreaEvent
impl JsCast for ScrollAreaEvent
source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
instanceof
check to see whether the JsValue
provided is an instance of this type. Read moresource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
source§fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
T
. Read moresource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
T
. Read moresource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
T
. Read moresource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
source§impl OptionFromWasmAbi for ScrollAreaEvent
impl OptionFromWasmAbi for ScrollAreaEvent
source§impl<'a> OptionIntoWasmAbi for &'a ScrollAreaEvent
impl<'a> OptionIntoWasmAbi for &'a ScrollAreaEvent
source§impl OptionIntoWasmAbi for ScrollAreaEvent
impl OptionIntoWasmAbi for ScrollAreaEvent
source§impl RefFromWasmAbi for ScrollAreaEvent
impl RefFromWasmAbi for ScrollAreaEvent
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
Self
are recovered from.§type Anchor = ManuallyDrop<ScrollAreaEvent>
type Anchor = ManuallyDrop<ScrollAreaEvent>
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ScrollAreaEvent
impl Send for ScrollAreaEvent
impl Sync for ScrollAreaEvent
impl Unpin for ScrollAreaEvent
impl UnwindSafe for ScrollAreaEvent
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
IntoWasmAbi::Abi
source§fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more