pub fn collapse_to_start(&self) -> Result<(), InvalidStateError> {
        js_try! ( @(no_return)
            @{self}.collapseToStart();
        ).unwrap()
    }
/// Collapses the [Selection](struct.Selection.html) to the start of the first range in the
/// selection. If the content is focused or editable, the caret will blink there.
///
/// [(Javascript docs)](https://developer.mozilla.org/en-US/docs/Web/API/Selection/collapseToStart)
Collapses the [Selection](struct.Selection.html) to the start of the first range in the
selection. If the content is focused or editable, the caret will blink there.

[(Javascript docs)]
Collapses the [ Selection ] ( struct . Selection . html ) to the start of the first range in the selection . If the content is focused or editable the caret will blink there . [ ( Javascript docs ) ]
pub fn collapse_to_start(&self) -> Result<(), InvalidStateError> {
        js_try! ( @(no_return)
            @{self}.collapseToStart();
        ).unwrap()
    }
pub fn collapse_to_start ( & self ) -> Result < ( ) , InvalidStateError > { js_try ! ( ( no_return ) { self } collapseToStart ( ) ) . unwrap ( ) }
Collapses the [Selection](struct.Selection.html) to the start of the first range in the
selection.
Collapses the [ Selection ] ( struct . Selection . html ) to the start of the first range in the selection .
&self
&self