pub enum ModalPresentation {
FullScreen,
PageSheet,
FormSheet,
}Expand description
How a modal covers the screen (presentation).
Variants§
FullScreen
Covers the whole screen (default).
PageSheet
A sheet that leaves the presenting content visible behind it.
FormSheet
A smaller centered sheet on large screens.
Trait Implementations§
Source§impl Clone for ModalPresentation
impl Clone for ModalPresentation
impl Copy for ModalPresentation
Source§impl Debug for ModalPresentation
impl Debug for ModalPresentation
Source§impl Default for ModalPresentation
impl Default for ModalPresentation
impl Eq for ModalPresentation
Source§impl HostValue for ModalPresentation
impl HostValue for ModalPresentation
Source§impl IntoReactive<ModalPresentation> for ModalPresentation
impl IntoReactive<ModalPresentation> for ModalPresentation
Source§fn into_reactive(self) -> Reactive<ModalPresentation>
fn into_reactive(self) -> Reactive<ModalPresentation>
As a
Reactive.Source§impl JsValue for ModalPresentation
impl JsValue for ModalPresentation
Source§impl PartialEq for ModalPresentation
impl PartialEq for ModalPresentation
Source§impl PropEnum for ModalPresentation
impl PropEnum for ModalPresentation
impl StructuralPartialEq for ModalPresentation
Auto Trait Implementations§
impl Forget for ModalPresentation
impl Freeze for ModalPresentation
impl Move for ModalPresentation
impl RefUnwindSafe for ModalPresentation
impl Send for ModalPresentation
impl Sync for ModalPresentation
impl Unpin for ModalPresentation
impl UnsafeUnpin for ModalPresentation
impl UnwindSafe for ModalPresentation
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
Mutably borrows from an owned value. Read more
Source§impl<T> CallbackArgs for Twhere
T: Ret,
impl<T> CallbackArgs for Twhere
T: Ret,
Source§fn ts_params(types: &mut TsTypes, names: &[&str]) -> String
fn ts_params(types: &mut TsTypes, names: &[&str]) -> String
Its TypeScript parameters, named
names (name: string, amount: number), or without names value for one and a, b, … for
several.Source§fn into_js_args<'a>(
self,
host: &'a dyn JsHost,
) -> Result<Vec<JsOwned<'a>>, PropError>
fn into_js_args<'a>( self, host: &'a dyn JsHost, ) -> Result<Vec<JsOwned<'a>>, PropError>
The arguments as JS values.