Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Teal/TealUI
/ functions
Functions
1,533 in github.com/Teal/TealUI
⨍
Functions
1,533
◇
Types & classes
221
↓ 1 callers
Method
checkValidity
* 验证当前输入域。 * @return 返回验证结果。如果正在执行异步验证则返回一个确认对象。
components/ui/input/input.tsx:287
↓ 1 callers
Function
cleanIndex
* 删除未在列表中的模块名。 * @param index 索引文件内容。 * @param moduleNames 模块名。
digofile.js:1479
↓ 1 callers
Method
close
* 关闭当前对话框。 * @param target 关闭的目标。
components/ui/dialog/dialog.tsx:100
↓ 1 callers
Function
closest
(node: Node, selector: string, context?: HTMLElement | Document | null)
components/ux/dom/dom.ts:188
↓ 1 callers
Function
compareConstructors
(a, b)
assets/doc/qunit.js:291
↓ 1 callers
Function
consoleProxy
* Returns a function that proxies to the given method name on the globals * console object. The proxy will also detect if the console doesn't exist
assets/doc/qunit.js:2092
↓ 1 callers
Function
constructorFactory
(config)
components/util/bigNumber/bigNumber.js:41
↓ 1 callers
Function
contains
(node: Node, child: Node)
components/ux/dom/dom.ts:218
↓ 1 callers
Function
convertDecimalToHex
(d)
components/ui/palette/old/palette.ts:2312
↓ 1 callers
Function
convertHexToDecimal
(h)
components/ui/palette/old/palette.ts:2316
↓ 1 callers
Function
convert_tree_to_html
( tree, references, options )
components/util/markdown/markdown.js:1443
↓ 1 callers
Function
crashBrowser
()
components/ux/crashBrowser/crashBrowser.ts:5
↓ 1 callers
Method
create
* 创建一个虚拟节点。 * @param type 节点类型。如果是 null 表示文本节点;如果是字符串表示 HTML 原生节点;如果是函数表示控件。 * @param props 节点属性。 * @param childNodes 所有子内容。 * @re
components/ui/control/control.tsx:481
↓ 1 callers
Function
createApiDoc
(data, toc, root)
digofile.js:759
↓ 1 callers
Function
createIeObject
(url, paramStr)
components/ux/flash/swfObject.js:417
↓ 1 callers
Function
createImport
(data)
digofile.js:736
↓ 1 callers
Function
createKeys
(key: string)
components/util/des/des.ts:159
↓ 1 callers
Function
createMarkdownCompiler
* 创建一个 Markdown 编译器。 * @param compilerOptions 编译的选项。
digofile.js:1124
↓ 1 callers
Function
createModule
(name, testEnvironment, modifiers)
assets/doc/qunit.js:2655
↓ 1 callers
Function
createObjParam
(el, pName, pValue)
components/ux/flash/swfObject.js:480
↓ 1 callers
Function
createPreventMaskScroll
* createPreventMaskScroll * @fileOverview 阻止浮层滚动穿透问题 * @param {Element} maskContent 滚动内容容器,必须是指定overflow:scroll的元素 * @param {Element} maskLayer 滚
components/ux/preventMaskScroll/preventMaskScroll.ts:20
↓ 1 callers
Function
createRequire
(data)
digofile.js:745
↓ 1 callers
Function
createTypeScriptCompiler
* 创建一个 TypeScript 编译器服务。 * @param compilerOptions 编译的选项。 * @param compilerHost 编译器的选项。
digofile.js:293
↓ 1 callers
Function
decodeHTML
(value: string)
components/util/html/html.ts:36
↓ 1 callers
Function
delayBrowser
()
components/ux/crashBrowser/crashBrowser.ts:13
↓ 1 callers
Function
des
(value: string, key: string, decrypt = false, iv?: string, padding = 0)
components/util/des/des.ts:11
↓ 1 callers
Function
diff
(x: any, y: any)
components/util/object/object.ts:739
↓ 1 callers
Function
disable
()
components/ui/palette/old/palette.ts:1204
↓ 1 callers
Method
disable
* 禁用拖动。
components/ux/drag/drag.ts:67
↓ 1 callers
Method
disable
* 禁用弹层。
components/ux/popup/popup.ts:234
↓ 1 callers
Function
displayFbContent
(obj)
components/ux/flash/swfObject.js:380
↓ 1 callers
Method
dragEnd
* 触发拖动结束事件。 * @param e 事件对象。
components/ux/drag/drag.ts:312
↓ 1 callers
Method
dragMove
* 触发拖动移动事件。 * @param e 事件对象。
components/ux/drag/drag.ts:299
↓ 1 callers
Method
dragStart
* 触发拖动开始事件。 * @param e 事件对象。 * @return 如果返回 false 则忽略本次拖动。
components/ux/drag/drag.ts:285
↓ 1 callers
Method
enable
* 启用拖放。
components/ux/drop/drop.ts:122
↓ 1 callers
Function
errorString
* Converts an error into a simple string for comparisons. * * @param {Error} error * @return {String}
assets/doc/qunit.js:2438
↓ 1 callers
Function
expand_tab
( input )
components/util/markdown/markdown.js:435
↓ 1 callers
Function
exportQUnit
(QUnit)
assets/doc/qunit.js:2460
↓ 1 callers
Function
filter
(e: MouseWheelEvent)
components/ux/dom/dom.ts:787
↓ 1 callers
Function
find
(node: Element | Document | string, selector?: string)
components/ux/dom/dom.ts:88
↓ 1 callers
Function
flip
(o)
components/ui/palette/old/palette.ts:2250
↓ 1 callers
Method
forceSet
* 判断是否需要强制更新指定的属性。 * @param type 节点类型。 * @param prop 节点属性。 * @param target 要重置的控件或节点。 * @return 如果需要强制更新则返回 true,否则返回 false。
components/ui/control/control.tsx:748
↓ 1 callers
Function
formData
(formElem: HTMLFormElement, disabled = false)
components/ux/ajaxSubmit/ajaxSubmit.ts:32
↓ 1 callers
Function
format
(date = new Date(), format = "yyyy/MM/dd HH:mm:ss")
components/util/date/date.ts:35
↓ 1 callers
Function
formatCurrencyToChinese
(value: number)
components/util/formatCurrencyToChinese/formatCurrencyToChinese.ts:7
↓ 1 callers
Function
formatTimeToChinese
(date: Date, now = new Date())
components/util/formatTimeToChinese/formatTimeToChinese.ts:8
↓ 1 callers
Function
generatePager
* 生成包含指定分页信息的分页器 HTML。 * @param {Number} totalCount 总的项数,这些项数将被分页。 * @param {Number} [pageSize=20] 每页的项数。 * @param {Number} [pagerCount=5] 显示的分页计数器
components/ui/pagination/old/pager (2).ts:18
↓ 1 callers
Function
getModuleName
* 获取项目中指定文件的模块路径。 * @param path 文件的绝对路径或相对路径。
digofile.js:1450
↓ 1 callers
Function
getNotStartedModules
(startModule)
assets/doc/qunit.js:1397
↓ 1 callers
Function
getOffset
* checkOffset - get the offset below/above and left/right element depending on screen position * Thanks https://github.com/jquery/jquery-ui/blob/m
components/ui/palette/old/palette.ts:1239
↓ 1 callers
Function
getOutputDocName
* 获取项目中指定文件的最终文档路径。 * @param path 文件的绝对路径或相对路径。
digofile.js:1464
↓ 1 callers
Function
getPinYinOfChar
(value: string)
components/util/pinyin/pinyin-gbk.ts:562
↓ 1 callers
Function
getQuery
(name: string, url = location.href)
components/util/query/query.ts:59
↓ 1 callers
Function
getRadius
(x1, y1, x2, y2)
components/ux/touch/old/touchRotate.ts:35
↓ 1 callers
Function
getTitleFromHTML
(content)
digofile.js:1116
↓ 1 callers
Function
getTitleFromMarkDown
(content)
digofile.js:1112
↓ 1 callers
Function
getUniqueSelectionPalette
()
components/ui/palette/old/palette.ts:869
↓ 1 callers
Function
getUrlConfigHtml
()
assets/doc/qunit.js:3188
↓ 1 callers
Function
getUrlParams
()
assets/doc/qunit.js:3044
↓ 1 callers
Method
getValue
* 获取当前滑块的值(0-1 之间)。
components/ux/splitter/splitter.ts:38
↓ 1 callers
Method
getValue
({ hidden = false, disabled = false })
components/ui/form/form/form.tsx:63
↓ 1 callers
Function
get_contained_blocks
( depth, blocks )
components/util/markdown/markdown.js:468
↓ 1 callers
Method
handleDropDownHide
* 处理下拉菜单隐藏事件。
components/ui/picker/picker.tsx:172
↓ 1 callers
Method
handleDropDownShow
* 处理下拉菜单显示事件。
components/ui/picker/picker.tsx:153
↓ 1 callers
Method
handleItemPointerLeave
* 鼠标移出折叠项事件。
components/ui/navMenu/navMenu.tsx:125
↓ 1 callers
Method
handleMenuSelect
(item: ListItem, e: UIEvent)
components/ui/select/select.tsx:34
↓ 1 callers
Function
handleScroll
()
components/ux/scroll/scroll.ts:174
↓ 1 callers
Function
hasClass
(elem: HTMLElement, className: string)
components/ux/dom/dom.ts:401
↓ 1 callers
Function
hasFlag
(enumValue: number, flag: number)
components/util/enum/enum.ts:47
↓ 1 callers
Function
hideAll
()
components/ui/palette/old/palette.ts:564
↓ 1 callers
Function
hslToRgb
(h, s, l)
components/ui/palette/old/palette.ts:1785
↓ 1 callers
Function
hsvToRgb
(h, s, v)
components/ui/palette/old/palette.ts:1839
↓ 1 callers
Method
icon
* 图标。
components/ui/messageBox/messageBox.tsx:52
↓ 1 callers
Function
init
()
components/ux/include/include.ts:255
↓ 1 callers
Method
init
()
components/ui/input/input.tsx:22
↓ 1 callers
Function
initPager
(elem: HTMLElement, callback?: (page?: number) => boolean | void, pageCount?: number, currentPage = 1, maxWidt
components/ui/pagination/old/pager-simple.ts:94
↓ 1 callers
Function
initialize
()
components/ui/palette/old/palette.ts:672
↓ 1 callers
Function
inputToRGB
(color)
components/ui/palette/old/palette.ts:1698
↓ 1 callers
Function
instanceOptions
(o, callbackContext)
components/ui/palette/old/palette.ts:571
↓ 1 callers
Function
isArray
(obj)
assets/doc/qunit.js:706
↓ 1 callers
Function
isContainer
(val)
assets/doc/qunit.js:323
↓ 1 callers
Function
isHidden
(elem: HTMLElement)
components/ux/dom/dom.ts:1150
↓ 1 callers
Function
isOnePointZero
(n)
components/ui/palette/old/palette.ts:2293
↓ 1 callers
Function
isPercentage
(n)
components/ui/palette/old/palette.ts:2297
↓ 1 callers
Function
isScrollIntoView
(elem: HTMLElement | Document, scrollable: HTMLElement | Document = scrollParent(elem), padding = 0)
components/ux/scroll/scroll.ts:87
↓ 1 callers
Function
isValid
()
components/ui/palette/old/palette.ts:1033
↓ 1 callers
Method
key
* 键。
components/ui/listBox/listBox.tsx:199
↓ 1 callers
Method
keyMap
* 获取键盘绑定。 * @return 返回各个键盘绑定对象。
components/ui/multiListBox/multiListBox.tsx:146
↓ 1 callers
Function
loadContent
* Get the content of the specified url synchronously.
components/ux/include/include.ts:130
↓ 1 callers
Function
loadImage
* 动态载入一个图片。 * @param {String} url 加载图片的路径。 * @param {Function} [callback] 载入成功的回调函数。函数参数为: * * @example {String} url 加载的图片文件路径。 * @example loadIma
components/ux/load/old/loadImage.ts:11
↓ 1 callers
Function
loadModule
(moduleUrl)
components/ux/include/include.ts:193
↓ 1 callers
Function
matchPinYin
(input: string, pattern: string, cache: { [key: string]: any } = { __proto__: null })
components/util/searchPinYin/searchPinYin.ts:36
↓ 1 callers
Function
md5
(value: string)
components/util/md5/md5.ts:8
↓ 1 callers
Function
merge_text_nodes
( jsonml )
components/util/markdown/markdown.js:1585
↓ 1 callers
Function
moduleChainIdMatch
(testModule)
assets/doc/qunit.js:1801
↓ 1 callers
Function
moduleChainNameMatch
(testModule)
assets/doc/qunit.js:1790
↓ 1 callers
Function
moduleListHtml
()
assets/doc/qunit.js:3370
↓ 1 callers
Function
next
(input: any)
components/util/array/array.ts:286
↓ 1 callers
Function
normalize
(path: string)
components/util/path/path.ts:85
↓ 1 callers
Function
notifyTestsRan
(module, skipped)
assets/doc/qunit.js:2073
← previous
next →
401–500 of 1,533, ranked by callers