Defines a Tag component.

This component acts as a standard HTML element defined with a starting and an ending tag.

All mobile components in the palette are already defined with a tag name. You can create your own mobile elements by using the Tag component specifying its Tag name property.

You can also add Attr components to a Tag component to create custom attributes to this element.

For example, you could create your own <ion-tab> element and add a title attribute to it.

For more information: HTML Elements, Ionic Components

Name Description
Comment Describes the object comment to include in the documentation report. <p>This property generally contains an explanation about the object.</p>
Identifier Defines the component identifier.
Is active Defines whether the component is active.
Is self-closing Defines whether the HTML tag is self-closing.
Tag name Defines the HTML element’s tag name.