function ContextMenu(parent)
{
	Component.call(this, parent, "div");

	var self = this;

	this.element.style.overflow = "visible";
	this.element.style.zIndex = "300";
	this.element.onmouseleave = function()
	{
		self.destroy();
	};

	this.offset = new Vector2(20, 10);
	
	/**
	 * Options in this menu.
	 * 
	 * @attribute options
	 * @type {Array}
	 */
	this.options = [];
}
Context menu element.

@class ContextMenu
@extends {Component}
@param {Component} parent Parent element.