The <example> element allows you to add code examples to Javascript methods that appear in the API Explorer documentation.

The <example> element is optional. The <example> element has no attributes.

Table 1. Element Hierarchy
Parent Element Child Elements
<method>
  • <code>
  • <description>