Home > Element Reference : Implementation

Contents

### Implementation

This element should contain all of the field, property and method declarations for the binding.

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.

Copyright (C) 1999 - 2004 XulPlanet.com