(tagName: string)
| 2278 | * @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false. |
| 2279 | */ |
| 2280 | const _isBasicCustomElement = function (tagName: string): boolean { |
| 2281 | return ( |
| 2282 | !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && |
| 2283 | regExpTest(CUSTOM_ELEMENT, tagName) |
| 2284 | ); |
| 2285 | }; |
| 2286 | |
| 2287 | /** |
| 2288 | * Wrap an attribute value in the matching Trusted Types object when |
no test coverage detected