flymis/WebRoot/dojojs/src/widget/FloatingPane.js
(开头部分) 13KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*
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.FloatingPane");
dojo.require("dojo.widget.*");
dojo.require("dojo.widget.Manager");
dojo.require("dojo.html.*");
dojo.require("dojo.html.layout");
dojo.require("dojo.html.iframe");
dojo.require("dojo.html.selection");
dojo.require("dojo.lfx.shadow");
dojo.require("dojo.widget.html.layout");
dojo.require("dojo.widget.ContentPane");
dojo.require("dojo.dnd.HtmlDragMove");
dojo.require("dojo.widget.Dialog"); // for ModalFloatingPane
dojo.require("dojo.widget.ResizeHandle");
// summary
// Base class for FloatingPane, ModalFloatingPane
dojo.declare(
"dojo.widget.FloatingPaneBase",
null,
{
// String
// text to display in floating pane's title bar (ex: "My Window")
title: '',
// String
// path of icon to display in floating pane's title bar
iconSrc: '',
// Boolean
// if true, display a shadow behind the floating pane
hasShadow: false,
// Boolean
// if true, and the floating pane is inside another container (ContentPane, another FloatingPane, etc.),
// then don't allow the floating pane to be dragged outside of it's container
constrainToContainer: false,
// String
// widget id of TaskBar widget;
// if specified, then an icon for this FloatingPane will be added to the specified TaskBar
taskBarId: "",
// Boolean
// if true, allow user to resize floating pane
resizable: true,
// Boolean
// if true, display title bar for this floating pane
titleBarDisplay: true,
后面还有 381 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。