Struct rustcn_ui::dioxus_elements::textarea
source · pub struct textarea;Expand description
Build a
<textarea>
element.
Implementations§
source§impl textarea
impl textarea
pub const TAG_NAME: &'static str = "textarea"
pub const NAME_SPACE: Option<&'static str> = None
pub const autocomplete: (&'static str, Option<&'static str>, bool) = _
pub const autofocus: (&'static str, Option<&'static str>, bool) = _
pub const cols: (&'static str, Option<&'static str>, bool) = _
pub const disabled: (&'static str, Option<&'static str>, bool) = _
pub const form: (&'static str, Option<&'static str>, bool) = _
pub const maxlength: (&'static str, Option<&'static str>, bool) = _
pub const minlength: (&'static str, Option<&'static str>, bool) = _
pub const name: (&'static str, Option<&'static str>, bool) = _
pub const placeholder: (&'static str, Option<&'static str>, bool) = _
pub const readonly: (&'static str, Option<&'static str>, bool) = _
pub const required: (&'static str, Option<&'static str>, bool) = _
pub const rows: (&'static str, Option<&'static str>, bool) = _
pub const spellcheck: (&'static str, Option<&'static str>, bool) = _
pub const wrap: (&'static str, Option<&'static str>, bool) = _
pub const value: (&'static str, Option<&'static str>, bool) = _
pub const initial_value: (&'static str, Option<&'static str>, bool) = _
Trait Implementations§
source§impl GlobalAttributes for textarea
impl GlobalAttributes for textarea
source§const prevent_default: (&'static str, Option<&'static str>, bool) = _
const prevent_default: (&'static str, Option<&'static str>, bool) = _
Prevent the default action for this element. Read more
source§const class: (&'static str, Option<&'static str>, bool) = _
const class: (&'static str, Option<&'static str>, bool) = _
The HTML class attribute is used to specify a class for an HTML element. Read more
source§const dangerous_inner_html: (&'static str, Option<&'static str>, bool) = _
const dangerous_inner_html: (&'static str, Option<&'static str>, bool) = _
dangerous_inner_html is Dioxus’s replacement for using innerHTML in the browser DOM. In general, setting
HTML from code is risky because it’s easy to inadvertently expose your users to a cross-site scripting (XSS)
attack. So, you can set HTML directly from Dioxus, but you have to type out dangerous_inner_html to remind
yourself that it’s dangerous
Auto Trait Implementations§
impl RefUnwindSafe for textarea
impl Send for textarea
impl Sync for textarea
impl Unpin for textarea
impl UnwindSafe for textarea
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.