RichText/Archived/Rooster/Rooster.gcomp/Support/node_modules/roosterjs/dist/rooster-amd.js
/**
     * Create a new instance of SelectionBlockScoper class
     * @param rootNode The root node of the whole scope
     * @param position Position of the selection start
     * @param startFrom Where to start, can be Begin, End, SelectionStart
     */
Create a new instance of SelectionBlockScoper class
@param rootNode The root node of the whole scope
@param position Position of the selection start
@param startFrom Where to start, can be Begin, End, SelectionStart
Create a new instance of SelectionBlockScoper class @param rootNode The root node of the whole scope @param position Position of the selection start @param startFrom Where to start can be Begin End SelectionStart
function SelectionBlockScoper(rootNode, position, startFrom) {
        this.rootNode = rootNode;
        this.startFrom = startFrom;
        position = position instanceof Range ? Position_1.default.getStart(position) : position;
        this.position = position.normalize();
        this.block = getBlockElementAtNode_1.default(this.rootNode, this.position.node);
    }
function SelectionBlockScoper ( rootNode , position , startFrom ) { this . rootNode = rootNode ; this . startFrom = startFrom ; position = position instanceof Range ? Position_1 . default . getStart ( position ) : position ; this . position = position . normalize ( ) ; this . block = getBlockElementAtNode_1 . default ( this . rootNode , this . position . node ) ; }
Create a new instance of SelectionBlockScoper class
 @param rootNode The root node of the whole scope
 @param position Position of the selection start
 @param startFrom Where to start, can be Begin, End, SelectionStart
Create a new instance of SelectionBlockScoper class @param rootNode The root node of the whole scope @param position Position of the selection start @param startFrom Where to start can be Begin End SelectionStart