forked from fanruan/fineui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2801 lines
68 KiB
2801 lines
68 KiB
|
|
<!DOCTYPE HTML> |
|
<html lang="" > |
|
<head> |
|
<meta charset="UTF-8"> |
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"> |
|
<title>widget · GitBook</title> |
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
|
<meta name="description" content=""> |
|
<meta name="generator" content="GitBook 3.2.3"> |
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/style.css"> |
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css"> |
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css"> |
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css"> |
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css"> |
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css"> |
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-theme-api/theme-api.css"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<meta name="HandheldFriendly" content="true"/> |
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> |
|
<meta name="apple-mobile-web-app-capable" content="yes"> |
|
<meta name="apple-mobile-web-app-status-bar-style" content="black"> |
|
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png"> |
|
<link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon"> |
|
|
|
|
|
<link rel="next" href="single.html" /> |
|
|
|
|
|
<link rel="prev" href="layer/layer_searcher.html" /> |
|
|
|
|
|
</head> |
|
<body> |
|
|
|
<div class="book"> |
|
<div class="book-summary"> |
|
|
|
|
|
<div id="book-search-input" role="search"> |
|
<input type="text" placeholder="Type to search" /> |
|
</div> |
|
|
|
|
|
<nav role="navigation"> |
|
|
|
|
|
|
|
<ul class="summary"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="header">总览</li> |
|
|
|
|
|
|
|
<li class="chapter " data-level="1.1" data-path="../"> |
|
|
|
<a href="../"> |
|
|
|
|
|
文档规范 |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
<li class="header">核心控件</li> |
|
|
|
|
|
|
|
<li class="chapter " data-level="2.1" > |
|
|
|
<span> |
|
|
|
|
|
布局 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="2.1.1" data-path="layout/vertical.html"> |
|
|
|
<a href="layout/vertical.html"> |
|
|
|
|
|
vertical |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.2" data-path="layout/horizontal.html"> |
|
|
|
<a href="layout/horizontal.html"> |
|
|
|
|
|
horizontal |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.3" data-path="layout/htape.html"> |
|
|
|
<a href="layout/htape.html"> |
|
|
|
|
|
htape |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.4" data-path="layout/vtape.html"> |
|
|
|
<a href="layout/vtape.html"> |
|
|
|
|
|
vtape |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.5" data-path="layout/center_adapt.html"> |
|
|
|
<a href="layout/center_adapt.html"> |
|
|
|
|
|
center_adapt |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.6" data-path="layout/vertical_adapt.html"> |
|
|
|
<a href="layout/vertical_adapt.html"> |
|
|
|
|
|
vertical_adapt |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.7" data-path="layout/left_right_vertical_adapt.html"> |
|
|
|
<a href="layout/left_right_vertical_adapt.html"> |
|
|
|
|
|
left_right_vertical_adapt |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.8" data-path="layout/flow.html"> |
|
|
|
<a href="layout/flow.html"> |
|
|
|
|
|
flow |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.9" data-path="layout/center.html"> |
|
|
|
<a href="layout/center.html"> |
|
|
|
|
|
center |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.10" data-path="layout/horizontal_adapt.html"> |
|
|
|
<a href="layout/horizontal_adapt.html"> |
|
|
|
|
|
horizontal_adapt |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.11" data-path="layout/horizontal_auto.html"> |
|
|
|
<a href="layout/horizontal_auto.html"> |
|
|
|
|
|
horizontal_auto |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.12" data-path="layout/horizontal_float.html"> |
|
|
|
<a href="layout/horizontal_float.html"> |
|
|
|
|
|
horizontal_float |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.13" data-path="layout/float_center.html"> |
|
|
|
<a href="layout/float_center.html"> |
|
|
|
|
|
float_center |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.14" data-path="layout/border.html"> |
|
|
|
<a href="layout/border.html"> |
|
|
|
|
|
border |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.15" data-path="layout/grid.html"> |
|
|
|
<a href="layout/grid.html"> |
|
|
|
|
|
grid |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.16" data-path="layout/table.html"> |
|
|
|
<a href="layout/table.html"> |
|
|
|
|
|
table |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.1.17" data-path="layout/td.html"> |
|
|
|
<a href="layout/td.html"> |
|
|
|
|
|
td |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.2" > |
|
|
|
<span> |
|
|
|
|
|
抽象控件 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="2.2.1" data-path="abstract/button_group.html"> |
|
|
|
<a href="abstract/button_group.html"> |
|
|
|
|
|
button_group |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.2.2" data-path="abstract/button_tree.html"> |
|
|
|
<a href="abstract/button_tree.html"> |
|
|
|
|
|
button_tree |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.2.3" data-path="abstract/virtual_group.html"> |
|
|
|
<a href="abstract/virtual_group.html"> |
|
|
|
|
|
virtual_group |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.2.4" data-path="abstract/custom_tree.html"> |
|
|
|
<a href="abstract/custom_tree.html"> |
|
|
|
|
|
custom_tree |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.2.5" data-path="abstract/grid_view.html"> |
|
|
|
<a href="abstract/grid_view.html"> |
|
|
|
|
|
grid_view |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.2.6" data-path="abstract/collection_view.html"> |
|
|
|
<a href="abstract/collection_view.html"> |
|
|
|
|
|
collection_view |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.2.7" data-path="abstract/virtual_list.html"> |
|
|
|
<a href="abstract/virtual_list.html"> |
|
|
|
|
|
virtual_list |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.3" > |
|
|
|
<span> |
|
|
|
|
|
组合控件 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="2.3.1" data-path="combination/bi.combo.html"> |
|
|
|
<a href="combination/bi.combo.html"> |
|
|
|
|
|
combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.3.2" data-path="combination/bi.expander.html"> |
|
|
|
<a href="combination/bi.expander.html"> |
|
|
|
|
|
expander |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.3.3" data-path="combination/group_combo.html"> |
|
|
|
<a href="combination/group_combo.html"> |
|
|
|
|
|
group_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.3.4" data-path="combination/loader.html"> |
|
|
|
<a href="combination/loader.html"> |
|
|
|
|
|
loader |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.3.5" data-path="combination/navigation.html"> |
|
|
|
<a href="combination/navigation.html"> |
|
|
|
|
|
navigation |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.3.6" data-path="combination/searcher.html"> |
|
|
|
<a href="combination/searcher.html"> |
|
|
|
|
|
searcher |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.3.7" data-path="combination/switcher.html"> |
|
|
|
<a href="combination/switcher.html"> |
|
|
|
|
|
switcher |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.3.8" data-path="combination/tab.html"> |
|
|
|
<a href="combination/tab.html"> |
|
|
|
|
|
tab |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.4" > |
|
|
|
<span> |
|
|
|
|
|
弹出层 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="2.4.1" data-path="layer/layer_float_box.html"> |
|
|
|
<a href="layer/layer_float_box.html"> |
|
|
|
|
|
float_box |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.4.2" data-path="layer/layer_popup.html"> |
|
|
|
<a href="layer/layer_popup.html"> |
|
|
|
|
|
popup |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.4.3" data-path="layer/layer_searcher.html"> |
|
|
|
<a href="layer/layer_searcher.html"> |
|
|
|
|
|
searcher |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter active" data-level="2.5" data-path="widget.html"> |
|
|
|
<a href="widget.html"> |
|
|
|
|
|
widget |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.6" data-path="single.html"> |
|
|
|
<a href="single.html"> |
|
|
|
|
|
single |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.7" data-path="basic_button.html"> |
|
|
|
<a href="basic_button.html"> |
|
|
|
|
|
basic_button |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.8" data-path="node_button.html"> |
|
|
|
<a href="node_button.html"> |
|
|
|
|
|
node_button |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="2.9" data-path="pane.html"> |
|
|
|
<a href="pane.html"> |
|
|
|
|
|
pane |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
<li class="header">基础控件</li> |
|
|
|
|
|
|
|
<li class="chapter " data-level="3.1" data-path="../base/label.html"> |
|
|
|
<a href="../base/label.html"> |
|
|
|
|
|
label |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.2" data-path="../base/bubble.html"> |
|
|
|
<a href="../base/bubble.html"> |
|
|
|
|
|
bubble |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.3" data-path="../base/toast.html"> |
|
|
|
<a href="../base/toast.html"> |
|
|
|
|
|
toast |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.4" data-path="../base/message.html"> |
|
|
|
<a href="../base/message.html"> |
|
|
|
|
|
message |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.5" > |
|
|
|
<span> |
|
|
|
|
|
按钮 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="3.5.1" data-path="../base/button/button.html"> |
|
|
|
<a href="../base/button/button.html"> |
|
|
|
|
|
button |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.5.2" data-path="../base/button/text_button.html"> |
|
|
|
<a href="../base/button/text_button.html"> |
|
|
|
|
|
text_button |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.5.3" data-path="../base/button/icon_button.html"> |
|
|
|
<a href="../base/button/icon_button.html"> |
|
|
|
|
|
icon_button |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.5.4" data-path="../base/button/image_button.html"> |
|
|
|
<a href="../base/button/image_button.html"> |
|
|
|
|
|
image_button |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.6" > |
|
|
|
<span> |
|
|
|
|
|
编辑框 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="3.6.1" data-path="../base/editor/editor.html"> |
|
|
|
<a href="../base/editor/editor.html"> |
|
|
|
|
|
editor |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.6.2" data-path="../base/editor/code_editor.html"> |
|
|
|
<a href="../base/editor/code_editor.html"> |
|
|
|
|
|
code_editor |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.6.3" data-path="../base/editor/multifile_editor.html"> |
|
|
|
<a href="../base/editor/multifile_editor.html"> |
|
|
|
|
|
multifile_editor |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.6.4" data-path="../base/editor/textarea_editor.html"> |
|
|
|
<a href="../base/editor/textarea_editor.html"> |
|
|
|
|
|
textarea_editor |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.6.5" data-path="../base/editor/formula_editor.html"> |
|
|
|
<a href="../base/editor/formula_editor.html"> |
|
|
|
|
|
formula_editor |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.7" > |
|
|
|
<span> |
|
|
|
|
|
表格 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="3.7.1" data-path="../base/table/table_view.html"> |
|
|
|
<a href="../base/table/table_view.html"> |
|
|
|
|
|
table_view |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.7.2" data-path="../base/table/grid_table.html"> |
|
|
|
<a href="../base/table/grid_table.html"> |
|
|
|
|
|
grid_table |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.7.3" data-path="../base/table/collection_table.html"> |
|
|
|
<a href="../base/table/collection_table.html"> |
|
|
|
|
|
collection_table |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.7.4" data-path="../base/table/resizable_table.html"> |
|
|
|
<a href="../base/table/resizable_table.html"> |
|
|
|
|
|
resizable_table |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.8" data-path="../base/pager.html"> |
|
|
|
<a href="../base/pager.html"> |
|
|
|
|
|
pager |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.9" data-path="../base/svg.html"> |
|
|
|
<a href="../base/svg.html"> |
|
|
|
|
|
svg |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="3.10" data-path="../base/canvas.html"> |
|
|
|
<a href="../base/canvas.html"> |
|
|
|
|
|
canvas |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
<li class="header">实例控件</li> |
|
|
|
|
|
|
|
<li class="chapter " data-level="4.1" > |
|
|
|
<span> |
|
|
|
|
|
按钮 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="4.1.1" data-path="../case/button/multi_select_item.html"> |
|
|
|
<a href="../case/button/multi_select_item.html"> |
|
|
|
|
|
multi_select_item |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.1.2" data-path="../case/button/single_select_item.html"> |
|
|
|
<a href="../case/button/single_select_item.html"> |
|
|
|
|
|
single_select_item |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.1.3" data-path="../case/button/single_select_radio_item.html"> |
|
|
|
<a href="../case/button/single_select_radio_item.html"> |
|
|
|
|
|
single_select_radio_item |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.2" > |
|
|
|
<span> |
|
|
|
|
|
编辑框 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="4.2.1" data-path="../case/editor/shelter_editor.html"> |
|
|
|
<a href="../case/editor/shelter_editor.html"> |
|
|
|
|
|
shelter_editor |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.2.2" data-path="../case/editor/sign_editor.html"> |
|
|
|
<a href="../case/editor/sign_editor.html"> |
|
|
|
|
|
sign_editor |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.2.3" data-path="../case/editor/sign_initial_editor.html"> |
|
|
|
<a href="../case/editor/sign_initial_editor.html"> |
|
|
|
|
|
sign_initial_editor |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.2.4" data-path="../case/editor/state_editor.html"> |
|
|
|
<a href="../case/editor/state_editor.html"> |
|
|
|
|
|
state_editor |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.3" > |
|
|
|
<span> |
|
|
|
|
|
弹出层 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="4.3.1" data-path="../case/layer/multi_popup_layer.html"> |
|
|
|
<a href="../case/layer/multi_popup_layer.html"> |
|
|
|
|
|
multi_popup_layer |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.3.2" data-path="../case/layer/layer_panel.html"> |
|
|
|
<a href="../case/layer/layer_panel.html"> |
|
|
|
|
|
layer_panel |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.3.3" data-path="../case/layer/pane_list.html"> |
|
|
|
<a href="../case/layer/pane_list.html"> |
|
|
|
|
|
pane_list |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.3.4" data-path="../case/layer/panel.html"> |
|
|
|
<a href="../case/layer/panel.html"> |
|
|
|
|
|
panel |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.4" > |
|
|
|
<span> |
|
|
|
|
|
列表 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="4.4.1" data-path="../case/list/list.select.html"> |
|
|
|
<a href="../case/list/list.select.html"> |
|
|
|
|
|
select_list |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.4.2" data-path="../case/loader/lazy_loader.html"> |
|
|
|
<a href="../case/loader/lazy_loader.html"> |
|
|
|
|
|
lazy_loader |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.4.3" data-path="../case/loader/list_loader.html"> |
|
|
|
<a href="../case/loader/list_loader.html"> |
|
|
|
|
|
list_loader |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.4.4" data-path="../case/loader/sort_list.html"> |
|
|
|
<a href="../case/loader/sort_list.html"> |
|
|
|
|
|
sort_list |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.5" > |
|
|
|
<span> |
|
|
|
|
|
触发器 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="4.5.1" data-path="../case/trigger/editor_trigger.html"> |
|
|
|
<a href="../case/trigger/editor_trigger.html"> |
|
|
|
|
|
editor_trigger |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.5.2" data-path="../case/trigger/icon_trigger.html"> |
|
|
|
<a href="../case/trigger/icon_trigger.html"> |
|
|
|
|
|
icon_trigger |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.5.3" data-path="../case/trigger/text_trigger.html"> |
|
|
|
<a href="../case/trigger/text_trigger.html"> |
|
|
|
|
|
text_trigger |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.6" > |
|
|
|
<span> |
|
|
|
|
|
下拉框 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="4.6.1" data-path="../case/combo/bubble_combo.html"> |
|
|
|
<a href="../case/combo/bubble_combo.html"> |
|
|
|
|
|
bubble_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.6.2" data-path="../case/combo/icon_combo.html"> |
|
|
|
<a href="../case/combo/icon_combo.html"> |
|
|
|
|
|
icon_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.6.3" data-path="../case/combo/static_combo.html"> |
|
|
|
<a href="../case/combo/static_combo.html"> |
|
|
|
|
|
static_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.6.4" data-path="../case/combo/text_value_combo.html"> |
|
|
|
<a href="../case/combo/text_value_combo.html"> |
|
|
|
|
|
text_value_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.6.5" data-path="../case/combo/text_value_downlist_combo.html"> |
|
|
|
<a href="../case/combo/text_value_downlist_combo.html"> |
|
|
|
|
|
text_value_downlist_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.7" > |
|
|
|
<span> |
|
|
|
|
|
树 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="4.7.1" data-path="../case/tree/branch_tree.html"> |
|
|
|
<a href="../case/tree/branch_tree.html"> |
|
|
|
|
|
branch_tree |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.7.2" data-path="../case/tree/handstand_branch_tree.html"> |
|
|
|
<a href="../case/tree/handstand_branch_tree.html"> |
|
|
|
|
|
handstand_branch_tree |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.7.3" data-path="../case/tree/display_tree.html"> |
|
|
|
<a href="../case/tree/display_tree.html"> |
|
|
|
|
|
display_tree |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.7.4" data-path="../case/tree/simple_tree.html"> |
|
|
|
<a href="../case/tree/simple_tree.html"> |
|
|
|
|
|
simple_tree |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.7.5" data-path="../case/tree/level_tree.html"> |
|
|
|
<a href="../case/tree/level_tree.html"> |
|
|
|
|
|
level_tree |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.7.6" data-path="../case/tree/branch_relation.html"> |
|
|
|
<a href="../case/tree/branch_relation.html"> |
|
|
|
|
|
branch_relation |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.8" > |
|
|
|
<span> |
|
|
|
|
|
表格 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="4.8.1" data-path="../case/table/adaptive_table.html"> |
|
|
|
<a href="../case/table/adaptive_table.html"> |
|
|
|
|
|
adaptive_table |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.8.2" data-path="../case/table/tree_table.html"> |
|
|
|
<a href="../case/table/tree_table.html"> |
|
|
|
|
|
tree_table |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.8.3" data-path="../case/table/layer_tree_table.html"> |
|
|
|
<a href="../case/table/layer_tree_table.html"> |
|
|
|
|
|
layer_tree_table |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.9" > |
|
|
|
<span> |
|
|
|
|
|
Pager |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="4.9.1" data-path="../case/pager/all_count_pager.html"> |
|
|
|
<a href="../case/pager/all_count_pager.html"> |
|
|
|
|
|
all_count_pager |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.9.2" data-path="../case/pager/direction_pager.html"> |
|
|
|
<a href="../case/pager/direction_pager.html"> |
|
|
|
|
|
direction_pager |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.10" data-path="../case/calendar.html"> |
|
|
|
<a href="../case/calendar.html"> |
|
|
|
|
|
calendar |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.11" data-path="../case/clipboard.html"> |
|
|
|
<a href="../case/clipboard.html"> |
|
|
|
|
|
clipboard |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.12" data-path="../case/complex_canvas.html"> |
|
|
|
<a href="../case/complex_canvas.html"> |
|
|
|
|
|
complex_canvas |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.13" data-path="../case/color_chooser.html"> |
|
|
|
<a href="../case/color_chooser.html"> |
|
|
|
|
|
color_chooser |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.14" data-path="../case/color_chooser_popup.html"> |
|
|
|
<a href="../case/color_chooser_popup.html"> |
|
|
|
|
|
color_chooser_popup |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="4.15" data-path="../case/segment.html"> |
|
|
|
<a href="../case/segment.html"> |
|
|
|
|
|
segment |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
<li class="header">详细控件</li> |
|
|
|
|
|
|
|
<li class="chapter " data-level="5.1" > |
|
|
|
<span> |
|
|
|
|
|
各种小组件 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="5.1.1" data-path="../detailed/bi.button/general.html"> |
|
|
|
<a href="../detailed/bi.button/general.html"> |
|
|
|
|
|
通用按钮 |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.1.2" data-path="../detailed/bi.button/tooltip.html"> |
|
|
|
<a href="../detailed/bi.button/tooltip.html"> |
|
|
|
|
|
提示性信息 |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.1.3" data-path="../detailed/bi.button/items.html"> |
|
|
|
<a href="../detailed/bi.button/items.html"> |
|
|
|
|
|
各种items |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.1.4" data-path="../detailed/bi.button/node.html"> |
|
|
|
<a href="../detailed/bi.button/node.html"> |
|
|
|
|
|
各种节点nodes |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.1.5" data-path="../detailed/bi.button/segment.html"> |
|
|
|
<a href="../detailed/bi.button/segment.html"> |
|
|
|
|
|
各种segment |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.2" > |
|
|
|
<span> |
|
|
|
|
|
树形结构 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="5.2.1" data-path="../detailed/tree/bi.multi_tree_combo.html"> |
|
|
|
<a href="../detailed/tree/bi.multi_tree_combo.html"> |
|
|
|
|
|
multi_tree_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.2.2" data-path="../detailed/tree/bi.switch_tree.html"> |
|
|
|
<a href="../detailed/tree/bi.switch_tree.html"> |
|
|
|
|
|
switch_tree |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.3" > |
|
|
|
<span> |
|
|
|
|
|
表格 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="5.3.1" data-path="../detailed/table/bi.preview_table.html"> |
|
|
|
<a href="../detailed/table/bi.preview_table.html"> |
|
|
|
|
|
preview_table |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.3.2" data-path="../detailed/table/bi.responsive_table.html"> |
|
|
|
<a href="../detailed/table/bi.responsive_table.html"> |
|
|
|
|
|
responsive_table |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.3.3" data-path="../detailed/table/bi.excel_table.html"> |
|
|
|
<a href="../detailed/table/bi.excel_table.html"> |
|
|
|
|
|
excel_table |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.3.4" data-path="../detailed/table/bi.page_table.html"> |
|
|
|
<a href="../detailed/table/bi.page_table.html"> |
|
|
|
|
|
page_table |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.4" > |
|
|
|
<span> |
|
|
|
|
|
文本框控件 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="5.4.1" data-path="../detailed/text_input/bi.text_editor.html"> |
|
|
|
<a href="../detailed/text_input/bi.text_editor.html"> |
|
|
|
|
|
bi.text_editor |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.4.2" data-path="../detailed/text_input/bi.search_editor.html"> |
|
|
|
<a href="../detailed/text_input/bi.search_editor.html"> |
|
|
|
|
|
bi.search_editor |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.4.3" data-path="../detailed/text_input/bi.clear_editor.html"> |
|
|
|
<a href="../detailed/text_input/bi.clear_editor.html"> |
|
|
|
|
|
bi.clear_editor |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.4.4" data-path="../detailed/text_input/finetuning_number_editor.html"> |
|
|
|
<a href="../detailed/text_input/finetuning_number_editor.html"> |
|
|
|
|
|
finetuning_number_editor |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.5" data-path="../detailed/year_combo.html"> |
|
|
|
<a href="../detailed/year_combo.html"> |
|
|
|
|
|
year_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.6" data-path="../detailed/month_combo.html"> |
|
|
|
<a href="../detailed/month_combo.html"> |
|
|
|
|
|
month_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.7" data-path="../detailed/quarter_combo.html"> |
|
|
|
<a href="../detailed/quarter_combo.html"> |
|
|
|
|
|
quarter_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.8" data-path="../detailed/down_list_combo.html"> |
|
|
|
<a href="../detailed/down_list_combo.html"> |
|
|
|
|
|
down_list_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.9" data-path="../detailed/numeric_interval.html"> |
|
|
|
<a href="../detailed/numeric_interval.html"> |
|
|
|
|
|
numeric_interval |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.10" data-path="../detailed/multi_select_combo.html"> |
|
|
|
<a href="../detailed/multi_select_combo.html"> |
|
|
|
|
|
multi_select_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.11" > |
|
|
|
<span> |
|
|
|
|
|
简单日期控件 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="5.11.1" data-path="../detailed/date/date_combo.html"> |
|
|
|
<a href="../detailed/date/date_combo.html"> |
|
|
|
|
|
date_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.11.2" data-path="../detailed/date/date_pane_widget.html"> |
|
|
|
<a href="../detailed/date/date_pane_widget.html"> |
|
|
|
|
|
date_pane_widget |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.11.3" data-path="../detailed/date/year_month_combo.html"> |
|
|
|
<a href="../detailed/date/year_month_combo.html"> |
|
|
|
|
|
year_month_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.11.4" data-path="../detailed/date/year_quarter_combo.html"> |
|
|
|
<a href="../detailed/date/year_quarter_combo.html"> |
|
|
|
|
|
year_quarter_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.11.5" data-path="../detailed/date/custom_date_time.html"> |
|
|
|
<a href="../detailed/date/custom_date_time.html"> |
|
|
|
|
|
custom_date_time |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.12" > |
|
|
|
<span> |
|
|
|
|
|
简单下拉树 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="5.12.1" data-path="../detailed/combo/single_tree_combo.html"> |
|
|
|
<a href="../detailed/combo/single_tree_combo.html"> |
|
|
|
|
|
single_tree_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.12.2" data-path="../detailed/combo/multilayer_single_tree_combo.html"> |
|
|
|
<a href="../detailed/combo/multilayer_single_tree_combo.html"> |
|
|
|
|
|
multilayer_single_tree_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.12.3" data-path="../detailed/combo/select_tree_combo.html"> |
|
|
|
<a href="../detailed/combo/select_tree_combo.html"> |
|
|
|
|
|
select_tree_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.12.4" data-path="../detailed/combo/multilayer_select_tree_combo.html"> |
|
|
|
<a href="../detailed/combo/multilayer_select_tree_combo.html"> |
|
|
|
|
|
multilayer_select_tree_combo |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.13" > |
|
|
|
<span> |
|
|
|
|
|
路径选择 |
|
|
|
</span> |
|
|
|
|
|
|
|
<ul class="articles"> |
|
|
|
|
|
<li class="chapter " data-level="5.13.1" data-path="../detailed/path/path_chooser.html"> |
|
|
|
<a href="../detailed/path/path_chooser.html"> |
|
|
|
|
|
path_chooser |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.13.2" data-path="../detailed/path/direction_path_chooser.html"> |
|
|
|
<a href="../detailed/path/direction_path_chooser.html"> |
|
|
|
|
|
direction_path_chooser |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.14" data-path="../detailed/relation_view.html"> |
|
|
|
<a href="../detailed/relation_view.html"> |
|
|
|
|
|
relation_view |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.15" data-path="../detailed/dialog.html"> |
|
|
|
<a href="../detailed/dialog.html"> |
|
|
|
|
|
dialog |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.16" data-path="../detailed/file_manager.html"> |
|
|
|
<a href="../detailed/file_manager.html"> |
|
|
|
|
|
file_manager |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li class="chapter " data-level="5.17" data-path="../detailed/slider.html"> |
|
|
|
<a href="../detailed/slider.html"> |
|
|
|
|
|
slider |
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
<li class="divider"></li> |
|
|
|
<li> |
|
<a href="https://www.gitbook.com" target="blank" class="gitbook-link"> |
|
Published with GitBook |
|
</a> |
|
</li> |
|
</ul> |
|
|
|
|
|
</nav> |
|
|
|
|
|
</div> |
|
|
|
<div class="book-body"> |
|
|
|
<div class="body-inner"> |
|
|
|
|
|
|
|
<div class="book-header" role="navigation"> |
|
|
|
|
|
<!-- Title --> |
|
<h1> |
|
<i class="fa fa-circle-o-notch fa-spin"></i> |
|
<a href=".." >widget</a> |
|
</h1> |
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="page-wrapper" tabindex="-1" role="main"> |
|
<div class="page-inner"> |
|
|
|
<div id="book-search-results"> |
|
<div class="search-noresults"> |
|
|
|
<section class="normal markdown-section"> |
|
|
|
<h1 id="biwidget">bi.widget</h1> |
|
<h2 id="所有控件的超类">所有控件的超类</h2> |
|
<h2 id="api">API</h2> |
|
<h5 id="基础属性">基础属性</h5> |
|
<table> |
|
<thead> |
|
<tr> |
|
<th style="text-align:left">参数</th> |
|
<th style="text-align:left">说明</th> |
|
<th style="text-align:left">类型</th> |
|
<th style="text-align:left">可选值</th> |
|
<th style="text-align:left">默认值</th> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
<tr> |
|
<td style="text-align:left">root</td> |
|
<td style="text-align:left">根组件</td> |
|
<td style="text-align:left">boolean</td> |
|
<td style="text-align:left">true,false</td> |
|
<td style="text-align:left">false</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">tagName</td> |
|
<td style="text-align:left">html标签</td> |
|
<td style="text-align:left">string</td> |
|
<td style="text-align:left">—</td> |
|
<td style="text-align:left">"div"</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">attributes</td> |
|
<td style="text-align:left">属性</td> |
|
<td style="text-align:left">object</td> |
|
<td style="text-align:left">—</td> |
|
<td style="text-align:left">null</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">data</td> |
|
<td style="text-align:left">数据</td> |
|
<td style="text-align:left">object</td> |
|
<td style="text-align:left">—</td> |
|
<td style="text-align:left">null</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">disabled</td> |
|
<td style="text-align:left">是否可用</td> |
|
<td style="text-align:left">boolean</td> |
|
<td style="text-align:left">true,false</td> |
|
<td style="text-align:left">false</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">invisible</td> |
|
<td style="text-align:left">是否可见</td> |
|
<td style="text-align:left">boolean</td> |
|
<td style="text-align:left">true,false</td> |
|
<td style="text-align:left">false</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">invalid</td> |
|
<td style="text-align:left">是否有效</td> |
|
<td style="text-align:left">boolean</td> |
|
<td style="text-align:left">true,false</td> |
|
<td style="text-align:left">false</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">baseCls</td> |
|
<td style="text-align:left">基础class类</td> |
|
<td style="text-align:left">string</td> |
|
<td style="text-align:left">—</td> |
|
<td style="text-align:left">" "</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">extraCls</td> |
|
<td style="text-align:left">扩展class类</td> |
|
<td style="text-align:left">string</td> |
|
<td style="text-align:left">—</td> |
|
<td style="text-align:left">" "</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">cls</td> |
|
<td style="text-align:left">class类名</td> |
|
<td style="text-align:left">string</td> |
|
<td style="text-align:left">—</td> |
|
<td style="text-align:left">" "</td> |
|
</tr> |
|
</tbody> |
|
</table> |
|
<h2 id="生命周期函数">生命周期函数</h2> |
|
<table> |
|
<thead> |
|
<tr> |
|
<th style="text-align:left">名称</th> |
|
<th style="text-align:left">说明</th> |
|
<th style="text-align:left">回调参数 </th> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
<tr> |
|
<td style="text-align:left">beforeCreate</td> |
|
<td style="text-align:left">组件实例刚被创建</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">created</td> |
|
<td style="text-align:left">组件实例创建完成</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">render</td> |
|
<td style="text-align:left">渲染组件</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">beforeMounted</td> |
|
<td style="text-align:left">组件挂载之前</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">mounted</td> |
|
<td style="text-align:left">组件挂载</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">update</td> |
|
<td style="text-align:left">组件更新</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">beforeDestroyed</td> |
|
<td style="text-align:left">组件销毁前调用</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">destroyed</td> |
|
<td style="text-align:left">组件销毁后调用</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
</tbody> |
|
</table> |
|
<h2 id="对外方法">对外方法</h2> |
|
<h5 id="注-fineui20引入生命周期后,widget的实现类不需要重写setenable,setvalid等方法,会自动调用子组件的对应方法">(注: fineui2.0引入生命周期后,widget的实现类不需要重写setEnable,setValid等方法,会自动调用子组件的对应方法</h5> |
|
<h5 id="一些需要在设置状态后做的额外工作可以通过重写setxxx来实现">,一些需要在设置状态后做的额外工作可以通过重写_setXXX来实现)</h5> |
|
<table> |
|
<thead> |
|
<tr> |
|
<th style="text-align:left">名称</th> |
|
<th style="text-align:left">说明</th> |
|
<th style="text-align:left">回调参数 </th> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
<tr> |
|
<td style="text-align:left">isMounted</td> |
|
<td style="text-align:left">判断组件是否挂载</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">setWidth</td> |
|
<td style="text-align:left">设置组件宽度</td> |
|
<td style="text-align:left">width</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">setHeight</td> |
|
<td style="text-align:left">设置组件高度</td> |
|
<td style="text-align:left">height</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">setEnable</td> |
|
<td style="text-align:left">设置组件是否可用</td> |
|
<td style="text-align:left">enable</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">setVisible</td> |
|
<td style="text-align:left">设置组件是否可见</td> |
|
<td style="text-align:left">visible</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">setValid</td> |
|
<td style="text-align:left">设置组件是否有效</td> |
|
<td style="text-align:left">valid</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">doBehavior</td> |
|
<td style="text-align:left">自定义下拉列表中item项的行为,如高亮,标红等</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">getWidth</td> |
|
<td style="text-align:left">获取组件宽度</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">getHeight</td> |
|
<td style="text-align:left">获取组件高度</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">isValid</td> |
|
<td style="text-align:left">判断是否有效</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">addWidget</td> |
|
<td style="text-align:left">添加组件</td> |
|
<td style="text-align:left">name,widget</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">getWidgetByName</td> |
|
<td style="text-align:left">根据组件名称获取组件</td> |
|
<td style="text-align:left">name</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">removeWidget</td> |
|
<td style="text-align:left">移除组件</td> |
|
<td style="text-align:left">nameOrWidget</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">hasWidget</td> |
|
<td style="text-align:left">判断是否有该组件</td> |
|
<td style="text-align:left">name</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">getName</td> |
|
<td style="text-align:left">获取组件名称</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">setTag</td> |
|
<td style="text-align:left">设置tag</td> |
|
<td style="text-align:left">tag</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">getTag</td> |
|
<td style="text-align:left">获取tag</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">attr</td> |
|
<td style="text-align:left">设置组件属性</td> |
|
<td style="text-align:left">key,value</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">getText</td> |
|
<td style="text-align:left">获取text值</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">setText</td> |
|
<td style="text-align:left">设置text值</td> |
|
<td style="text-align:left">text</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">getValue</td> |
|
<td style="text-align:left">获取value值</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">setValue</td> |
|
<td style="text-align:left">设置value值</td> |
|
<td style="text-align:left">value</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">isEnabled</td> |
|
<td style="text-align:left">是否可用</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">isVisible</td> |
|
<td style="text-align:left">是否可见</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">disable</td> |
|
<td style="text-align:left">设置组件不可用</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">enable</td> |
|
<td style="text-align:left">设置组件可用</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">valid</td> |
|
<td style="text-align:left">设置组件有效</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">invalid</td> |
|
<td style="text-align:left">设置组件无效</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">invisible</td> |
|
<td style="text-align:left">设置组件不可见</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">visible</td> |
|
<td style="text-align:left">设置组件可见</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">isolate</td> |
|
<td style="text-align:left">组件不在页面展示,组件事件和内容都在</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">empty</td> |
|
<td style="text-align:left">清空组件</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
<tr> |
|
<td style="text-align:left">destroy</td> |
|
<td style="text-align:left">销毁组件</td> |
|
<td style="text-align:left">—</td> |
|
</tr> |
|
</tbody> |
|
</table> |
|
<hr> |
|
|
|
|
|
</section> |
|
|
|
</div> |
|
<div class="search-results"> |
|
<div class="has-results"> |
|
|
|
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1> |
|
<ul class="search-results-list"></ul> |
|
|
|
</div> |
|
<div class="no-results"> |
|
|
|
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
|
|
|
</div> |
|
</div> |
|
</div> |
|
|
|
</div> |
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
<script> |
|
var gitbook = gitbook || []; |
|
gitbook.push(function() { |
|
gitbook.page.hasChanged({"page":{"title":"widget","level":"2.5","depth":1,"next":{"title":"single","level":"2.6","depth":1,"path":"core/single.md","ref":"core/single.md","articles":[]},"previous":{"title":"searcher","level":"2.4.3","depth":2,"path":"core/layer/layer_searcher.md","ref":"core/layer/layer_searcher.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"core/widget.md","mtime":"2017-09-07T08:23:24.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-12T10:43:53.831Z"},"basePath":"..","book":{"language":""}}); |
|
}); |
|
</script> |
|
</div> |
|
|
|
|
|
<script src="../gitbook/gitbook.js"></script> |
|
<script src="../gitbook/theme.js"></script> |
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-jsfiddle/plugin.js"></script> |
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script> |
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script> |
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-search/search-engine.js"></script> |
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-search/search.js"></script> |
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script> |
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script> |
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script> |
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script> |
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-theme-api/theme-api.js"></script> |
|
|
|
|
|
|
|
</body> |
|
</html> |
|
|
|
|