Partager via


namespace object

Dynamically imports an element behavior into a document.

Members

The namespace object has these types of members:

  • Events
  • Methods
  • Properties

Events

The namespace object has these events.

Event Description
readystatechange

Fires when the state of the object has changed.

 

Methods

The namespace object has these methods.

Method Description
attachEvent
Note   attachEvent is no longer supported. Starting with IE11, use addEventListener. For info, see Compatibility changes.
 

Binds the specified function to an event, so that the function gets called whenever the event fires on the object.

detachEvent

Unbinds the specified function from the event, so that the function stops receiving notifications when the event fires.

doImport

Dynamically imports an element behavior.

 

Properties

The namespace object has these properties.

Property Description

name

Retrieves the name of the namespace.

readyState

Retrieves the current state of the object.

urn

Sets or gets a URN for a target document.

 

Standards information

There are no standards that apply here.

Remarks

This object is available in script as of Microsoft Internet Explorer 5.5.

See also

Conceptual

Introduction to Viewlink

About Element Behaviors