Core API Overview > @adpt/core > AdaptElement > componentName
AdaptElement.componentName property
The name of the class or function in AdaptElement.componentType, as returned by componentType.name or, the string "anonymous" if no name is available.
Signature:
readonly componentName: string;