RichText/Archived/Rooster/Rooster.gcomp/Support/node_modules/roosterjs/dist/rooster-amd.js
/**
 * Get an HTML element at cursor from event cache if it exists.
 * If an selector is specified, return the nearest ancestor of current node
 * which matches the selector, or null if no match found in editor.
 * @param editor The editor instance
 * @param event Event object to get cached object from
 * @param selector The expected selector. If null, return the element at cursor
 * @returns The element at cursor or the nearest ancestor with the tag name is specified
 */
Get an HTML element at cursor from event cache if it exists.
If an selector is specified, return the nearest ancestor of current node
which matches the selector, or null if no match found in editor.
@param editor The editor instance
@param event Event object to get cached object from
@param selector The expected selector. If null, return the element at cursor
@returns The element at cursor or the nearest ancestor with the tag name is specified
Get an HTML element at cursor from event cache if it exists . If an selector is specified return the nearest ancestor of current node which matches the selector or null if no match found in editor . @param editor The editor instance @param event Event object to get cached object from @param selector The expected selector . If null return the element at cursor @returns The element at cursor or the nearest ancestor with the tag name is specified
function cacheGetElementAtCursor(editor, event, selector) {
    return cacheGetEventData_1.default(event, CACHE_KEY_PREFIX + selector, function () {
        return editor.getElementAtCursor(selector);
    });
}
function cacheGetElementAtCursor ( editor , event , selector ) { return cacheGetEventData_1 . default ( event , CACHE_KEY_PREFIX + selector , function ( ) { return editor . getElementAtCursor ( selector ) ; } ) ; }
Get an HTML element at cursor from event cache if it exists.
Get an HTML element at cursor from event cache if it exists .