我想去掉 Google 关闭对话框右上角的关闭/X 按钮。
我正在浏览文档 ( http://closure-library.googlecode.com/svn-history/r8/trunk/closure/goog/docs/class_goog_ui_Dialog.html),但找不到这样做的方法。
最佳答案
方法就在这里!参见 http://closure-library.googlecode.com/svn/docs/class_goog_ui_Dialog.html
dialog.setHasTitleCloseButton(false);
问候,
雷内
关于google-closure-library - 如何禁用 goog.ui.Dialog 中的关闭按钮?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11058538/