"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DomChildText = void 0;
const _extract_js_1 = require("./_extract.js");
class DomChildText extends _extract_js_1.DomExtractPipe {
    getDatum(info) {
        return info.childText;
    }
}
exports.DomChildText = DomChildText;
DomChildText.$type = 'DOM.getChildText';
DomChildText.$help = `
Returns text content of direct text node children of an element, ignoring nested elements.

### Use For

- accessing text content of immediate children when semantic markup does not allow
for more precise targeting
`;
//# sourceMappingURL=DOM.getChildText.js.map