The section describes how to create a Menu plugin and outlines the interface functions, structure properties and events.

Definition File

This file is as defined above (see Object Definition File section for more details). The JSON object in the definition file must be put in the ‘proiv.plugins.menu.definitions’ object.

 proiv.plugins.menu.definitions.Toolbar = {

Creating the Menu

A menu is not assigned a node in the object definition in the constructor function. The Menu object determines where in the page its menu is to appear and creates its own nodes.

The constructor function must be in the ‘proiv.plugins.menu.constructors’ object.

 proiv.plugins.menu.constructors.MyToolbarMenu = function(objectDefinition) {

 

 

Comment on this topic

Topic ID: 800068

 
 
 

Table of Contents

Index

Glossary

-Search-

Back