Skip to main content

%Studio.Template.HTMLAttribute

Class %Studio.Template.HTMLAttribute Extends (%Persistent, %XML.Adaptor) [ Inheritance = right, Not ProcedureBlock, System = 3 ]

Represents an HTML attribute associated with a specific HTML element.
See the %Studio.Template.HTMLElement class for more information.

Parameters

XMLNAME

Parameter XMLNAME = "attr";

Properties

Tag

Relationship Tag As HTMLElement [ Cardinality = parent, Inverse = Attrs ];

The tag this attribute is associated with.

Name

Property Name As %String(MAXLEN = 256, XMLNAME = "name", XMLPROJECTION = "attribute");

Name of this attribute.

Type

Property Type As %String(XMLNAME = "type", XMLPROJECTION = "attribute");

Type of this attribute.

Category

Property Category As %String(XMLNAME = "cat", XMLPROJECTION = "attribute");

Category of this attribute.

Enum

Property Enum As %String(MAXLEN = 300, XMLNAME = "enum", XMLPROJECTION = "attribute");

List of enumerated values (for enum types).

Description

Property Description As %String(MAXLEN = 255, XMLNAME = "desc", XMLPROJECTION = "attribute");

Description of this attribute.