Attributes |
Name | Required | Request-time | Type | Description |
keyHint | false | false | java.lang.String | To avoid multiple inclusion of the same HEAD element like javascript library, this keyHint attribute can be provided to set the key for the HEAD element. If two HstComponents contribute HEAD elements with same keyHint attribute, the container will include the HEAD element only once. If the component does not provide keyHint attribute, the container will make a keyHint automatically by stringifying the included HEAD element by this tag. |
element | false | true | org.w3c.dom.Element | For more optimized way to create and use DOM element, this tag supports setting a DOM element by element attribute. If this attribute is set, then the headContribution tag will not try to parse the body content to create a DOM element. Instead, it will use the passed DOM element by this attribute. |
category | false | false | java.lang.String | Category name of the contributed head element. The head elements can be filtered in or filtered out by this attribute. |