fn offset_width( &self ) -> i32 {
        js!(
            return @{self.as_ref()}.offsetWidth;
        ).try_into().unwrap()
    }
/// Returns the layout width of an element. Typically, an element's offsetWidth is a
/// measurement which includes the element borders, the element horizontal padding, the
/// element vertical scrollbar (if present, if rendered) and the element CSS width.
// https://drafts.csswg.org/cssom-view/#ref-for-dom-htmlelement-offsetwidth
Returns the layout width of an element. Typically, an element's offsetWidth is a
measurement which includes the element borders, the element horizontal padding, the
element vertical scrollbar (if present, if rendered) and the element CSS width.
Returns the layout width of an element . Typically an element ' s offsetWidth is a measurement which includes the element borders the element horizontal padding the element vertical scrollbar ( if present if rendered ) and the element CSS width .
fn offset_width( &self ) -> i32 {
        js!(
            return @{self.as_ref()}.offsetWidth;
        ).try_into().unwrap()
    }
fn offset_width ( & self ) -> i32 { js ! ( return { self as_ref ( ) } offsetWidth ) . try_into ( ) . unwrap ( ) }
Returns the layout width of an element.
Returns the layout width of an element .
&self
&self