(tagName: string)
| 2411 | * @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false. |
| 2412 | */ |
| 2413 | const _isBasicCustomElement = function (tagName: string): boolean { |
| 2414 | return ( |
| 2415 | !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && |
| 2416 | regExpTest(CUSTOM_ELEMENT, tagName) |
| 2417 | ); |
| 2418 | }; |
| 2419 | |
| 2420 | /** |
| 2421 | * Wrap an attribute value in the matching Trusted Types object when |
no outgoing calls
no test coverage detected