contextmenu.js

来自「Ajax 一个动态树的源码」· JavaScript 代码 · 共 34 行

JS
34
字号
/*	Copyright (c) 2004-2006, The Dojo Foundation	All Rights Reserved.	Licensed under the Academic Free License version 2.1 or above OR the	modified BSD license. For more information on Dojo licensing, see:		http://dojotoolkit.org/community/licensing.shtml*/dojo.provide("dojo.widget.ContextMenu");dojo.deprecated("dojo.widget.ContextMenu",  "use dojo.widget.Menu2", "0.4");dojo.require("dojo.widget.*");dojo.require("dojo.widget.DomWidget");dojo.widget.ContextMenu = function(){	dojo.widget.Widget.call(this);	this.widgetType = "ContextMenu";	this.isContainer = true;	this.isOpened = false;		// copy children widgets output directly to parent (this node), to avoid	// errors trying to insert an <li> under a <div>	this.snarfChildDomOutput = true;}dojo.inherits(dojo.widget.ContextMenu, dojo.widget.Widget);dojo.widget.tags.addParseTreeHandler("dojo:contextmenu");dojo.requireAfterIf("html", "dojo.widget.html.ContextMenu");

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?