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
↓ 3 callers
Function
render
(parent: HTMLElement | Control, content: NodeLike | null, oldVNode?: VNode)
components/ui/control/control.tsx:1024
↓ 3 callers
Method
render
()
components/ui/form/form.tsx:14
↓ 3 callers
Function
rol
(num: number, cnt: number)
components/util/sha1/sha1.ts:69
↓ 3 callers
Function
scrollTo
(elem: HTMLElement | Document, value: Partial<Point>, duration = 150, callback?: (value: Point) => void)
components/ux/scroll/scroll.ts:11
↓ 3 callers
Method
set
(elem: HTMLElement, value: string | boolean, args?: string)
components/ui/control/control.tsx:689
↓ 3 callers
Function
setStatus
(elem: HTMLElement, prefix: string, value: Status)
components/ux/status/status.ts:29
↓ 3 callers
Function
show
(elem: HTMLElement, animation?: ToggleAnimation, callback?: (this: HTMLElement, value: boolean) => void, durat
components/ux/dom/dom.ts:1178
↓ 3 callers
Function
showExpressInstall
(att, par, replaceElemIdStr, callbackFn)
components/ux/flash/swfObject.js:333
↓ 3 callers
Function
splitPath
* 将文件名分割为数组。 * @param path 要处理的文件名。 * @return 返回一个数组。其内容分别标识跟路径、文件夹、文件基础名和扩展名。
components/util/path/path.ts:177
↓ 3 callers
Method
stop
* 停止执行渐变。
components/util/tween/tween.ts:55
↓ 3 callers
Method
stopDragging
* 退出拖动状态。 * @param e 事件对象。
components/ux/drag/drag.ts:225
↓ 3 callers
Function
stringToBinary
(value: string)
components/util/md5/md5.ts:25
↓ 3 callers
Function
stripHtml
(string)
assets/doc/qunit.js:3750
↓ 3 callers
Function
subtract
(a, b, aL, base)
components/util/bigNumber/bigNumber.js:794
↓ 3 callers
Function
test
(testName, callback)
assets/doc/qunit.js:1904
↓ 3 callers
Method
toArray
* 获取当前队列的等价数组。
components/util/queue/queue.ts:93
↓ 3 callers
Function
toConsumableArray
(arr)
assets/doc/qunit.js:116
↓ 3 callers
Function
toHSL
(value: Color)
components/util/color/color.ts:184
↓ 3 callers
Method
toString
* 获取当前队列的等价字符串。
components/util/queue/queue.ts:107
↓ 3 callers
Function
truncate
(n)
components/util/bigNumber/bigNumber.js:2710
↓ 3 callers
Function
typeEquiv
(a, b)
assets/doc/qunit.js:545
↓ 3 callers
Method
up
(e: KeyboardEvent)
components/ui/listBox/listBox.tsx:174
↓ 3 callers
Method
value
()
components/ui/checkBoxGroup/checkBoxGroup.tsx:55
↓ 2 callers
Function
_10
(s, f)
components/util/obfuscator/obfuscator.js:385
↓ 2 callers
Function
_12
(a)
components/util/obfuscator/obfuscator.js:356
↓ 2 callers
Function
_13
(s, r, e)
components/util/obfuscator/obfuscator.js:269
↓ 2 callers
Function
_14
(s)
components/util/obfuscator/obfuscator.js:168
↓ 2 callers
Function
_5
(s, e)
components/util/obfuscator/obfuscator.js:154
↓ 2 callers
Function
_9
(r)
components/util/obfuscator/obfuscator.js:394
↓ 2 callers
Method
_checkValidity
(report?: boolean)
components/ui/form/form.tsx:215
↓ 2 callers
Method
_checkValidity
(report?: boolean)
components/ui/form/form/form (2).tsx:203
↓ 2 callers
Method
_checkValidity
(report?: boolean)
components/ui/form/form/form.tsx:213
↓ 2 callers
Method
_fulfill
* 处理一个解析值。 * @param promise 当前确认对象。 * @param value 已解析的值。 * @param resolve 解析完成的回调函数。 * @param reject 解析失败的回调函数。
components/util/shim/promise-shim.js:45
↓ 2 callers
Method
_set
* 设置当前确认对象的状态和数据。 * @param status 解析的状态。可以是 1 或 2。 * @param data 解析的数据。
components/util/shim/promise-shim.js:81
↓ 2 callers
Method
abort
* 终止当前异步操作。
components/util/asyncQueue/asyncQueue.ts:154
↓ 2 callers
Function
accessibility
(member)
digofile.js:1015
↓ 2 callers
Function
addEvents
(elems, type, fn)
assets/doc/qunit.js:3127
↓ 2 callers
Function
addGroup
(data, title)
assets/doc/doc.js:457
↓ 2 callers
Function
addIndex
* 添加制定的模块名。 * @param index 索引文件内容。 * @param moduleName 要添加的模块名。
digofile.js:1508
↓ 2 callers
Function
ajax
(options: Partial<Ajax>)
components/ux/ajax/ajax.ts:261
↓ 2 callers
Function
animate
(elem: HTMLElement, propNames: { [propName: string]: string | number }, callback?: (this: typeof elem) => void
components/ux/dom/dom.ts:1074
↓ 2 callers
Function
animteTo
(index)
components/ux/swipe/xswipe.ts:126
↓ 2 callers
Method
append
(tpl: string, page: number)
components/ui/pagination/old/pager.tsx:18
↓ 2 callers
Function
appendTest
(name, testId, moduleName)
assets/doc/qunit.js:3611
↓ 2 callers
Function
autoStart
()
components/ux/swipe/xswipe.ts:158
↓ 2 callers
Function
binaryToBase64
(value: number[], base64Padding = "")
components/util/md5/md5-more.ts:9
↓ 2 callers
Function
binaryToString
(value: number[])
components/util/md5/md5.ts:41
↓ 2 callers
Function
bindEvent
(d, delta)
components/ui/upDown/upDown.tsx:47
↓ 2 callers
Function
bindEvent
(d, delta)
components/ui/upDown/old/upDown.ts:30
↓ 2 callers
Function
boundAlpha
(a)
components/ui/palette/old/palette.ts:2260
↓ 2 callers
Function
breadthFirstCompareChild
(a, b)
assets/doc/qunit.js:327
↓ 2 callers
Function
buildTpl
* 替换模板中的通用部分。 * @param tpl 模板源文件。
digofile.js:1401
↓ 2 callers
Function
callHook
()
assets/doc/qunit.js:1489
↓ 2 callers
Function
callme
(callback: any)
components/util/function/function-test.ts:85
↓ 2 callers
Function
changePage
(page)
components/ui/pagination/old/pager (2).ts:79
↓ 2 callers
Method
checkValidity
* 验证当前表单内的所有输入域。 * @return 返回验证后的出错的字段列表。如果返回空数组说明验证成功。如果正在执行异步验证则返回一个确认对象。
components/ui/form/form.tsx:204
↓ 2 callers
Function
collectTests
(module)
assets/doc/qunit.js:2049
↓ 2 callers
Function
contains
(str, substr)
components/ui/palette/old/palette.ts:478
↓ 2 callers
Function
convert
* 检索简繁体表进行转换。 * @param value 要转换的中文。 * @param from 源表。 * @param to 目标表。
components/util/tradionalChinese/tradionalChinese.ts:21
↓ 2 callers
Function
convertBase
(str, baseOut, baseIn, sign)
components/util/bigNumber/bigNumber.js:660
↓ 2 callers
Function
count
(start: Date, callback: Function, now: Date, years?: string)
components/ux/countDown/countDown.ts:43
↓ 2 callers
Function
count_lines
( str )
components/util/markdown/markdown.js:155
↓ 2 callers
Function
createCSS
(sel, decl, media, newStyle)
components/ux/flash/swfObject.js:569
↓ 2 callers
Function
decodeQueryParam
(param)
assets/doc/qunit.js:3068
↓ 2 callers
Function
defineProperties
(target, props)
assets/doc/qunit.js:59
↓ 2 callers
Function
diff
(a, b)
assets/doc/qunit.js:138
↓ 2 callers
Function
diffHalfMatchI
* Does a substring of shorttext exist within longtext such that the substring * is at least half the length of longtext? * Closure, but does
assets/doc/qunit.js:4376
↓ 2 callers
Function
diffLinesToCharsMunge
* Split a text into an array of strings. Reduce the texts to a string of * hashes where each Unicode character represents one line. * Modif
assets/doc/qunit.js:4857
↓ 2 callers
Function
drawInitial
()
components/ui/palette/old/palette.ts:892
↓ 2 callers
Function
drawPalette
()
components/ui/palette/old/palette.ts:881
↓ 2 callers
Method
enable
* 启用拖动。
components/ux/drag/drag.ts:62
↓ 2 callers
Function
escapeHTML
( text )
components/util/markdown/markdown.js:1403
↓ 2 callers
Function
formatQuery
(obj: any, joinChar = "&", equalChar = "=")
components/util/query/query.ts:36
↓ 2 callers
Function
func
()
components/util/shim/shim-test.ts:43
↓ 2 callers
Function
generatePager
(pageCount: number, currentPage = +(/[?&]page=(\d+)/.exec(location.href) || 0)[1] || 1, href = /([?&]page)=(\d
components/ui/pagination/old/pager-simple.ts:30
↓ 2 callers
Function
getBindProp
(target: any, prop: string, args: any, scope: Control)
components/ui/control/control.tsx:952
↓ 2 callers
Function
getCookie
(name: string)
components/ux/cookie/cookie.ts:7
↓ 2 callers
Function
getNameHtml
(name, module)
assets/doc/qunit.js:3718
↓ 2 callers
Function
getNativeFlags
* Returns native `RegExp` flags used by a regex object. * @private * @param {RegExp} regex Regex to check. * @return {String} Native fl
components/util/xRegExp/xRegExp.js:117
↓ 2 callers
Function
getOffset
(elem: HTMLElement)
components/ux/dom/dom.ts:584
↓ 2 callers
Method
getOwnPropTypes
* 获取控件类型本身的属性列表。 * @param type 控件类型。 * @return 返回属性列表。
components/ui/control/control.tsx:673
↓ 2 callers
Function
getPinYin
(chinsese)
digofile.js:1105
↓ 2 callers
Method
getPropType
* 判断控件类型是否包含指定的属性。 * @param type 要判断的控件类型。 * @param prop 要判断的属性名。 * @return 如果属性无 get/set 操作则返回 true,否则返回 false。
components/ui/control/control.tsx:652
↓ 2 callers
Function
getRegExpFlags
(regexp)
assets/doc/qunit.js:319
↓ 2 callers
Function
getScroll
()
components/ux/swipe/xswipe.ts:108
↓ 2 callers
Function
getStatus
(elem: HTMLElement, prefix: string)
components/ux/status/status.ts:14
↓ 2 callers
Function
hasClass
(elem, name)
assets/doc/qunit.js:3134
↓ 2 callers
Function
hash
()
components/ux/hashChange/hashChange.ts:29
↓ 2 callers
Function
highlightKey_replace
(textNode, keys, bgColors, colors)
components/ux/highlight/old/highlightKeywords.ts:3
↓ 2 callers
Function
hmacRaw
(value: string, key: string)
components/util/md5/md5-more.ts:63
↓ 2 callers
Function
inIndex
* 判断索引文件中是否已包含指定的模块名。 * @param index 索引文件内容。 * @param moduleName 模块名。
digofile.js:1499
↓ 2 callers
Function
inRect
(rect: Rect, p: Point)
components/util/rect/rect.ts:62
↓ 2 callers
Function
indexOfListener
(listeners: typeof listener[] | typeof listener | undefined, listener: (e: Event, target: HTMLElement | Docume
components/ux/dom/dom.ts:992
↓ 2 callers
Method
init
* 当被子类重写时负责在关联元素后初始化当前控件。
components/ui/control/control.tsx:56
↓ 2 callers
Function
initArgs
* 初始化 show/hide 的参数。
components/ux/animate/old/tween.ts:371
↓ 2 callers
Function
innerEquiv
(a, b)
assets/doc/qunit.js:559
↓ 2 callers
Function
inputTypeColorSupport
()
components/ui/palette/old/palette.ts:1367
↓ 2 callers
Function
internalRecover
(test)
assets/doc/qunit.js:1999
↓ 2 callers
Function
internalStart
(test)
assets/doc/qunit.js:2005
↓ 2 callers
Function
internalStop
(test)
assets/doc/qunit.js:1963
← previous
next →
201–300 of 1,533, ranked by callers