fn capture_cursor(&mut self) -> Result<(), JsValue> {
        self.cursor = self.body_style.get_property_value("cursor")?;
        self.body_style
            .set_property("cursor", match self.orientation {
                Orientation::Horizontal => "col-resize",
                Orientation::Vertical => "row-resize",
            })
    }
/// Helper functions capture and release the global cursor while dragging is
/// occurring.
Helper functions capture and release the global cursor while dragging is
occurring.
Helper functions capture and release the global cursor while dragging is occurring .
fn capture_cursor(&mut self) -> Result<(), JsValue> {
        self.cursor = self.body_style.get_property_value("cursor")?;
        self.body_style
            .set_property("cursor", match self.orientation {
                Orientation::Horizontal => "col-resize",
                Orientation::Vertical => "row-resize",
            })
    }
fn capture_cursor ( & mut self ) -> Result < ( ) , JsValue > { self . cursor = self . body_style . get_property_value ( " " ) ? ; self . body_style . set_property ( " " , match self . orientation { Orientation :: Horizontal => " " , Orientation :: Vertical => " " , } ) }
Helper functions capture and release the global cursor while dragging is
occurring.
Helper functions capture and release the global cursor while dragging is occurring .
&mut self
&mut self