References > " . "Element Reference"; $pagetitle="Implementation"; $customsidebar = "elemref-xbl-sidebar.php"; include "header.php"; ?>

Implementation

Used to contain property and method declarations for the element.

More information about implementation

Attributes:

id implements name

Attributes:

id

Type: element id, must be unique in the window

A unique identifier so that you can identify the implementation with. You can use this as a parameter to getElementById and other DOM functions and to reference the element in style sheets.

implements

Set this property to one or more XPCOM interfaces that the binding implements, separated by commas. Normally, you would not set this property. It is used to create a binding which implements an interface.

name

A name used internally for constructing names for this binding. It is included in error messages displayed on the JavaScript console.