(tagName: string)
| 2497 | * @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false. |
| 2498 | */ |
| 2499 | const _isBasicCustomElement = function (tagName: string): boolean { |
| 2500 | return ( |
| 2501 | !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && |
| 2502 | regExpTest(CUSTOM_ELEMENT, tagName) |
| 2503 | ); |
| 2504 | }; |
| 2505 | |
| 2506 | /** |
| 2507 | * Wrap an attribute value in the matching Trusted Types object when |
no test coverage detected