Class:


new (baseID, config)

Drawer is a class that creates an empty panel where the user can add
content to it. It allows the user to add more tabs as needed.

Parameters:
Name Type Description
baseID String

AThe id of the div element where the Drawer will be
attached to.

config Object

Contains the following settings:


  • width {Integer}. Width of the Drawer in pixels. Default is 400px

  • height {Integer}. Height of the Drawer in pixels. Default is 600px

  • position {Integer}. by default is located in the left side.

    • OM.control.Drawer.LEFT

    • OM.control.Drawer.RIGHT