Name of new directive
Content of new directive
Directive attributes
Where to create the new item ('top', 'bottom', 'before', 'after')
Required only if 'before' or 'after' is used for $where
Example 31-1. Create a new directive using createDirective()
|