Trait script::dom::bindings::codegen::Bindings::AnimationEventBinding::AnimationEvent_Binding::AnimationEventMethods
source · pub trait AnimationEventMethods {
// Required methods
fn AnimationName(&self) -> DOMString;
fn ElapsedTime(&self) -> Finite<f32>;
fn PseudoElement(&self) -> DOMString;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
eventInitDict: &AnimationEventInit,
) -> Root<Dom<AnimationEvent>>;
}
Required Methods§
fn AnimationName(&self) -> DOMString
fn ElapsedTime(&self) -> Finite<f32>
fn PseudoElement(&self) -> DOMString
fn IsTrusted(&self) -> bool
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &AnimationEventInit, ) -> Root<Dom<AnimationEvent>>
Object Safety§
This trait is not object safe.