Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getElementType (node) { // return tagName
assert(node && node.type === 'VElement');
if (utils.hasAttribute(node, 'is')) {
return this.getAttributeValue(node, 'is');
} else if (utils.hasDirective(node, 'bind', 'is')) {
return 'component';
}
return node.rawName;
},
isHiddenFromScreenReader (node) {