fineui是帆软报表和BI产品线所使用的前端框架。
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.
 
 
 

688 lines
19 KiB

<!DOCTYPE HTML>
<html lang="" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>bi.search_editor · 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-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="bi.clear_editor.html" />
<link rel="prev" href="bi.text_editor.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="../../">
<b>1.1.</b>
文档规范
</a>
</li>
<li class="header">详细控件</li>
<li class="chapter " data-level="2.1" >
<span>
<b>2.1.</b>
按钮组
</span>
<ul class="articles">
<li class="chapter " data-level="2.1.1" data-path="../bi.button/general.html">
<a href="../bi.button/general.html">
<b>2.1.1.</b>
通用按钮
</a>
</li>
<li class="chapter " data-level="2.1.2" data-path="../bi.button/tooltip.html">
<a href="../bi.button/tooltip.html">
<b>2.1.2.</b>
带提示的按钮
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="2.2" data-path="../bi.single_select_item.html">
<a href="../bi.single_select_item.html">
<b>2.2.</b>
单选框
</a>
</li>
<li class="chapter " data-level="2.3" data-path="../bi.multi_select_item.html">
<a href="../bi.multi_select_item.html">
<b>2.3.</b>
复选框
</a>
</li>
<li class="chapter " data-level="2.4" data-path="../node.html">
<a href="../node.html">
<b>2.4.</b>
node节点
</a>
</li>
<li class="chapter " data-level="2.5" data-path="../bi.segment.html">
<a href="../bi.segment.html">
<b>2.5.</b>
segment组件
</a>
</li>
<li class="chapter " data-level="2.6" >
<span>
<b>2.6.</b>
树形结构
</span>
<ul class="articles">
<li class="chapter " data-level="2.6.1" data-path="../tree/bi.multi_tree_combo.html">
<a href="../tree/bi.multi_tree_combo.html">
<b>2.6.1.</b>
bi.multi_tree_combo
</a>
</li>
<li class="chapter " data-level="2.6.2" data-path="../tree/bi.switch_tree.html">
<a href="../tree/bi.switch_tree.html">
<b>2.6.2.</b>
bi.switch_tree
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="2.7" >
<span>
<b>2.7.</b>
表格
</span>
<ul class="articles">
<li class="chapter " data-level="2.7.1" data-path="../table/bi.preview_table.html">
<a href="../table/bi.preview_table.html">
<b>2.7.1.</b>
bi.preview_table
</a>
</li>
<li class="chapter " data-level="2.7.2" data-path="../table/bi.responsive_table.html">
<a href="../table/bi.responsive_table.html">
<b>2.7.2.</b>
bi.responsive_table
</a>
</li>
<li class="chapter " data-level="2.7.3" data-path="../table/bi.excel_table.html">
<a href="../table/bi.excel_table.html">
<b>2.7.3.</b>
bi.excel_table
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="2.8" >
<span>
<b>2.8.</b>
文本框控件
</span>
<ul class="articles">
<li class="chapter " data-level="2.8.1" data-path="bi.text_editor.html">
<a href="bi.text_editor.html">
<b>2.8.1.</b>
bi.text_editor
</a>
</li>
<li class="chapter active" data-level="2.8.2" data-path="bi.search_editor.html">
<a href="bi.search_editor.html">
<b>2.8.2.</b>
bi.search_editor
</a>
</li>
<li class="chapter " data-level="2.8.3" data-path="bi.clear_editor.html">
<a href="bi.clear_editor.html">
<b>2.8.3.</b>
bi.clear_editor
</a>
</li>
</ul>
</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="../.." >bi.search_editor</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">
<h2 id="bisearcheditor">bi.search_editor</h2>
<h3 id="&#x641C;&#x7D22;&#x6846;">&#x641C;&#x7D22;&#x6846;</h3>
<div class="api-method"><div class="api-method-definition"><p><a href="https://jsfiddle.net/fineui/4a1rLppw/" target="_blank">source</a></p>
</div><div class="api-method-code"><div class="api-method-example"><pre><code class="lang-javascript">BI.createWidget({
type: <span class="hljs-string">&apos;bi.search_editor&apos;</span>,
element: <span class="hljs-string">&apos;#wrapper&apos;</span>,
width: <span class="hljs-number">300</span>,
watermark:<span class="hljs-string">&quot;&#x641C;&#x7D22;&quot;</span>,
});
</code></pre>
</div></div></div>
<h2 id="bismallsearcheditor">bi.small_search_editor</h2>
<h3 id="&#x5C0F;&#x4E00;&#x53F7;&#x7684;&#x641C;&#x7D22;&#x6846;">&#x5C0F;&#x4E00;&#x53F7;&#x7684;&#x641C;&#x7D22;&#x6846;</h3>
<h5 id="height&#x9ED8;&#x8BA4;&#x4E3A;24">height&#x9ED8;&#x8BA4;&#x4E3A;24</h5>
<p><div class="api-method"><div class="api-method-definition"><p><a href="https://jsfiddle.net/fineui/wwzza22k/" target="_blank">source</a></p>
</div><div class="api-method-code"><div class="api-method-example"><pre><code class="lang-javascript">BI.createWidget({
type: <span class="hljs-string">&apos;bi.search_editor&apos;</span>,
element: <span class="hljs-string">&apos;#wrapper&apos;</span>,
width: <span class="hljs-number">300</span>,
watermark:<span class="hljs-string">&quot;&#x641C;&#x7D22;&quot;</span>,
});
</code></pre>
</div>&lt;/div&gt;&lt;/div&gt;</div></div></p>
<h2 id="api">API</h2>
<table>
<thead>
<tr>
<th style="text-align:left">&#x53C2;&#x6570;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x53EF;&#x9009;&#x503C;</th>
<th style="text-align:left">&#x9ED8;&#x8BA4;&#x503C;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">hgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x6587;&#x672C;&#x6846;&#x5DE6;&#x53F3;padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left"></td>
<td style="text-align:left">4</td>
</tr>
<tr>
<td style="text-align:left">vgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x6587;&#x672C;&#x6846;&#x4E0A;&#x4E0B;padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left"></td>
<td style="text-align:left">2</td>
</tr>
<tr>
<td style="text-align:left">lgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x6587;&#x672C;&#x6846;left-padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left"></td>
<td style="text-align:left">0</td>
</tr>
<tr>
<td style="text-align:left">rgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x6587;&#x672C;&#x6846;right-padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left"></td>
<td style="text-align:left">0</td>
</tr>
<tr>
<td style="text-align:left">tgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x6587;&#x672C;&#x6846;top-padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left"></td>
<td style="text-align:left">0</td>
</tr>
<tr>
<td style="text-align:left">bgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x6587;&#x672C;&#x6846;bottom-padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left"></td>
<td style="text-align:left">0</td>
</tr>
<tr>
<td style="text-align:left">validationChecker</td>
<td style="text-align:left">&#x8F93;&#x5165;&#x8F83;&#x9A8C;&#x51FD;&#x6570;</td>
<td style="text-align:left">function</td>
<td style="text-align:left"></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left">quitChecker</td>
<td style="text-align:left">&#x662F;&#x5426;&#x5141;&#x8BB8;&#x9000;&#x51FA;&#x7F16;&#x8F91;&#x51FD;&#x6570;</td>
<td style="text-align:left">function</td>
<td style="text-align:left"></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left">mouseOut</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">allowBlank</td>
<td style="text-align:left">&#x662F;&#x5426;&#x5141;&#x8BB8;&#x7A7A;&#x503C;</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">watermark</td>
<td style="text-align:left">&#x6587;&#x672C;&#x6846;placeholder</td>
<td style="text-align:left">string</td>
<td style="text-align:left"></td>
<td style="text-align:left">null</td>
</tr>
<tr>
<td style="text-align:left">value</td>
<td style="text-align:left">&#x6587;&#x672C;&#x6846;&#x9ED8;&#x8BA4;&#x503C;</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">errorText</td>
<td style="text-align:left">&#x9519;&#x8BEF;&#x63D0;&#x793A;</td>
<td style="text-align:left">string</td>
<td style="text-align:left"></td>
<td style="text-align:left">null</td>
</tr>
<tr>
<td style="text-align:left">width</td>
<td style="text-align:left">&#x6587;&#x672C;&#x6846;&#x5BBD;&#x5EA6;</td>
<td style="text-align:left">number</td>
<td style="text-align:left"></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left">height</td>
<td style="text-align:left">&#x6587;&#x672C;&#x6846;&#x9AD8;&#x5EA6;</td>
<td style="text-align:left">number</td>
<td style="text-align:left"></td>
<td style="text-align:left">30</td>
</tr>
</tbody>
</table>
<p>#</p>
</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":"bi.search_editor","level":"2.8.2","depth":2,"next":{"title":"bi.clear_editor","level":"2.8.3","depth":2,"path":"detailed/text_input/bi.clear_editor.md","ref":"detailed/text_input/bi.clear_editor.md","articles":[]},"previous":{"title":"bi.text_editor","level":"2.8.1","depth":2,"path":"detailed/text_input/bi.text_editor.md","ref":"detailed/text_input/bi.text_editor.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api"],"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":true}},"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":"detailed/text_input/bi.search_editor.md","mtime":"2017-08-28T09:53:58.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-08-28T12:15:29.133Z"},"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-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>