For Microsoft Internet Explorer 5 and later, HTML Components (HTCs) provide a mechanism to implement components in script as Dynamic HTML (DHTML) behaviors. An HTC is an HTML file that contains script and a set of HTC-specific elements that define the component. The component is saved with an .htc extension. This section lists these HTC-specific elements and the members they support.
Represents the HTML document in a specific window.
Returns a reference to the tag in the primary document to which the behavior is attached.
Binds a function to an event, so that the function is called whenever the event fires on the specified object.
Identifies the content of the file as HTC.
Sets default properties for an HTC.
Defines an event of the HTC to be exposed to the containing document.
Defines a method of the HTC to be exposed to the containing document.
Defines a property of the HTC to be exposed to the containing document.
Detaches from the event.
Fires the event, given an event object.
Notifies the containing document that the value of the property has changed by firing the onpropertychange event on the element.
Fires the event, given a dispatch.
Fires the specified event.
Fires when the content of the element, to which the behavior is attached, has been completely parsed.
Fires just before the content of an element that is attached to an element behavior is saved or copied.
Fires before a behavior is detached from an element.
Fires when the behavior's containing document has been completely parsed.
Retrieves a dispatch representing a default.
Retrieves a dispatch representing a document.
Retrieves an element.
Retrieves a behavior name as a string.
Retrieves a Uniform Resource Name (URN) as a string.
Sets or retrieves a value.