pub fn contains_whole<N: INode>(&self, node: &N) -> bool {
        js! (
            return @{self}.containsNode(@{node.as_ref()}, false);
        ).try_into().unwrap()
    }
/// Indicates if the entire node is part of the selection.
///
/// [(Javascript docs)](https://developer.mozilla.org/en-US/docs/Web/API/Selection/containsNode)
Indicates if the entire node is part of the selection.
[(Javascript docs)]
Indicates if the entire node is part of the selection . [ ( Javascript docs ) ]
pub fn contains_whole<N: INode>(&self, node: &N) -> bool {
        js! (
            return @{self}.containsNode(@{node.as_ref()}, false);
        ).try_into().unwrap()
    }
pub fn contains_whole < N : INode > ( & self , node : & N ) -> bool { js ! ( return { self } containsNode ( { node as_ref ( ) } false ) ) . try_into ( ) . unwrap ( ) }
Indicates if the entire node is part of the selection.
Indicates if the entire node is part of the selection .
&self
node
&N
&self
node
&N