Source

dom/getDOMTextNodesUnder.js

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var getDOMNodesUnder_1 = __importDefault(require("./getDOMNodesUnder"));
/**
 * Find all text nodes under a certain DOM element
 *
 * @param el
 * @category dom
 * @module getDOMTextNodesUnder
 */
function getDOMTextNodesUnder(el) {
    return (0, getDOMNodesUnder_1.default)(el, NodeFilter.SHOW_TEXT);
}
exports.default = getDOMTextNodesUnder;