| Platform | Since |
|---|---|
| Android | 0.9 |
| iPhone | 0.9 |
| iPad | 0.9 |
a way to keep processor-specific information in the text of the document. See DOM Level 2 Spec
| Name | Summary |
|---|---|
| addEventListener |
Adds the specified callback as an event listener for the named event. |
| fireEvent |
Fires a synthesized event to any registered listeners. |
| getData |
Gets the value of the data property. |
| getTarget |
Gets the value of the target property. |
| removeEventListener |
Removes the specified callback as an event listener for the named event. |
| setData |
Sets the value of the data property. |
| Name | Type | Summary |
|---|---|---|
| data | String |
Retrieve the content of this processing instruction. This from the first non white space character after the target to the character immediatly preceding the ?>. When setting a processing instruction, a DOMException may be thrown on an invalid instruction. |
| target | String |
Retrieve the target of this processing instruction. XML defines this as being the first token following the markup that begins the processing instruction. read-only |