viewLinkContent attribute

Declares the element behavior as a document fragment.

Syntax

HTML
<element viewLinkContent="" ... >

 

JavaScript

 

Property values

  • isViewLink
    An optional Boolean that specifies the following value.

    Value Meaning
    true

    The element behavior is a viewlink.

Standards information

There are no standards that apply here.

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.

Examples

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" /> 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

See also

defaults