pub trait DOMHTMLElementExt: 'static {
Show 57 methods fn click(&self); fn access_key(&self) -> Option<GString>; fn children(&self) -> Option<DOMHTMLCollection>; fn content_editable(&self) -> Option<GString>; fn dir(&self) -> Option<GString>; fn is_draggable(&self) -> bool; fn is_hidden(&self) -> bool; fn inner_html(&self) -> Option<GString>; fn inner_text(&self) -> Option<GString>; fn is_content_editable(&self) -> bool; fn lang(&self) -> Option<GString>; fn outer_html(&self) -> Option<GString>; fn outer_text(&self) -> Option<GString>; fn is_spellcheck(&self) -> bool; fn tab_index(&self) -> c_long; fn title(&self) -> Option<GString>; fn is_translate(&self) -> bool; fn webkitdropzone(&self) -> Option<GString>; fn set_access_key(&self, value: &str); fn set_content_editable(&self, value: &str) -> Result<(), Error>; fn set_dir(&self, value: &str); fn set_draggable(&self, value: bool); fn set_hidden(&self, value: bool); fn set_inner_html(&self, contents: &str) -> Result<(), Error>; fn set_inner_text(&self, value: &str) -> Result<(), Error>; fn set_lang(&self, value: &str); fn set_outer_html(&self, contents: &str) -> Result<(), Error>; fn set_outer_text(&self, value: &str) -> Result<(), Error>; fn set_spellcheck(&self, value: bool); fn set_tab_index(&self, value: c_long); fn set_title(&self, value: &str); fn set_translate(&self, value: bool); fn set_webkitdropzone(&self, value: &str); fn get_property_draggable(&self) -> bool; fn set_property_draggable(&self, draggable: bool); fn get_property_hidden(&self) -> bool; fn set_property_hidden(&self, hidden: bool); fn get_property_spellcheck(&self) -> bool; fn set_property_spellcheck(&self, spellcheck: bool); fn get_property_translate(&self) -> bool; fn set_property_translate(&self, translate: bool); fn get_property_webkitdropzone(&self) -> Option<GString>; fn set_property_webkitdropzone(&self, webkitdropzone: Option<&str>); fn connect_access_key_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_content_editable_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_dir_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn connect_draggable_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_hidden_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_inner_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_is_content_editable_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_lang_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_outer_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_spellcheck_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_tab_index_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_title_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_translate_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_webkitdropzone_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}
Expand description

Required Methods

Deprecated since 2.22

Use JavaScriptCore API instead

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gchar

Available on non-crate feature v2_10 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gchar

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gchar

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gboolean

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gboolean

Available on non-crate feature v2_8 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gchar

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gboolean

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gchar

Available on non-crate feature v2_8 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gchar

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gboolean

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A glong

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gchar

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gboolean

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gchar

Deprecated since 2.22

Use JavaScriptCore API instead

value

A gchar

Deprecated since 2.22

Use JavaScriptCore API instead

value

A gchar

Deprecated since 2.22

Use JavaScriptCore API instead

value

A gchar

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

value

A gboolean

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

value

A gboolean

Available on non-crate feature v2_8 only.
Deprecated since 2.8

Use DOMElementExt::set_inner_html() instead.

contents

a gchar with contents to set

Deprecated since 2.22

Use JavaScriptCore API instead

value

A gchar

Deprecated since 2.22

Use JavaScriptCore API instead

value

A gchar

Available on non-crate feature v2_8 only.
Deprecated since 2.8

Use DOMElementExt::set_outer_html() instead.

contents

a gchar with contents to set

Deprecated since 2.22

Use JavaScriptCore API instead

value

A gchar

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

value

A gboolean

Deprecated since 2.22

Use JavaScriptCore API instead

value

A glong

Deprecated since 2.22

Use JavaScriptCore API instead

value

A gchar

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

value

A gboolean

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

value

A gchar

Implementors