⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resetitem.js

📁 javascript 很酷的类库
💻 JS
字号:
/*
 * Isomorphic SmartClient
 * Version 6.5 (2008-04-30)
 * Copyright(c) 1998-2007 Isomorphic Software, Inc. All rights reserved.
 * "SmartClient" is a trademark of Isomorphic Software, Inc.
 *
 * licensing@smartclient.com
 *
 * http://smartclient.com/license
 */
 //>	@class	ResetItem// Button that resets the form to default values, by calling// <code>DynamicForm.resetValues()</code>// // If you define a click handler on this item, you can return false to cancel the reset.//// @visibility external//<isc.ClassFactory.defineClass("ResetItem", "ButtonItem");isc.ResetItem.addProperties({    // default the title to "Reset"    title:"Reset"});isc.ResetItem.addMethods({    // override handleClick to reset the form unless a user defined click-handler suppresses    // the reset.        handleClick : function () {        if (this.Super("handleClick", arguments) == false) return false;        this.form.resetValues();    }});

⌨️ 快捷键说明

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