viewLinkContent Attribute

Declares the element behavior as a document fragment.

Syntax

HTML <ELEMENT viewLinkContent=isViewLink ... >
Scripting N/A

Possible Values

isViewLink An optional Boolean that specifies the following value.
true
The element behavior is a viewlink.

Remarks

Viewlink is a feature of element behaviors that enables you to write fully encapsulated Dynamic HTML (DHTML) behaviors and import them as custom elements in a Web page. Viewlinked document content, otherwise known as the document fragment, renders and behaves as regular HTML content in the main Web page. For more information, see Introduction to Viewlink.

Example

To set up a viewlink between a primary document and a document fragment, use the following declaration in the component definition:

<PUBLIC:DEFAULTS viewLinkContent="true" /> 

Applies To

defaults