Skip to content

@arcmantle/lit-jsx / shared/svg-tags

shared/svg-tags

Variables

svgTags

const svgTags: Set<string>

Defined in: shared/svg-tags.ts:7

A comprehensive set of all SVG tag names. This includes current and deprecated SVG elements from the SVG specification.

Functions

isSvgTag()

isSvgTag(tagName): boolean

Defined in: shared/svg-tags.ts:103

Check if a given tag name is an SVG tag.

Parameters

tagName

string

The tag name to check

Returns

boolean

true if the tag is an SVG tag, false otherwise

Released under the Apache-2.0 License.