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
↓ 5 callers
Method
focus
* 令当前控件获得焦点。
components/ui/input/input.tsx:527
↓ 5 callers
Function
getTitle
* 获取文件夹的标题。 * @param rootDir 根文件夹。
digofile.js:1428
↓ 5 callers
Method
getValue
({ hidden = false, disabled = false })
components/ui/form/form.tsx:65
↓ 5 callers
Function
inArray
* Determines whether an element exists in a given array or not. * * @method inArray * @param {Any} elem * @param {Array} array * @retur
assets/doc/qunit.js:163
↓ 5 callers
Function
link
(tpl: string, page: number)
components/ui/pagination/old/pager-simple.ts:36
↓ 5 callers
Function
match
* 匹配正则并返回指定匹配项。 * @param input 输入的文本。 * @param pattern 正则。 * @param index 匹配组。
digofile.js:1383
↓ 5 callers
Method
normlizeValidityResult
* 规范化验证结果对象。 * @param result 用户返回的验证结果。 * @param 返回已格式化的严重结果。
components/ui/input/input.tsx:374
↓ 5 callers
Function
reflow
()
components/ui/palette/old/palette.ts:1159
↓ 5 callers
Function
scrollParent
(elem: HTMLElement | Document)
components/ux/scroll/scroll.ts:194
↓ 5 callers
Method
send
* 发送当前的请求。 * @return 如果请求发送成功则返回 true,否则返回 false。
components/ux/ajax/ajax.ts:103
↓ 5 callers
Function
setUrl
(params)
assets/doc/qunit.js:3273
↓ 5 callers
Function
toggleClass
(elem, name, force)
assets/doc/qunit.js:3144
↓ 5 callers
Method
toggleCollapse
* 切换面板的折叠状态。 * @param value 如果为 true 则强制折叠;如果为 false 则强制展开。
components/ui/panel/panel.tsx:73
↓ 5 callers
Function
walk
(node: Node | null, selector: string | undefined, nextProp: "nextSibling" | "previousSibling" | "parentNode",
components/ux/dom/dom.ts:171
↓ 4 callers
Function
activeMenu
()
components/ui/menu/menu.tsx:174
↓ 4 callers
Function
addValue
(result: { [key: string]: string | string[] }, key: string, value: string)
components/ux/ajaxSubmit/ajaxSubmit.ts:86
↓ 4 callers
Function
begin
()
assets/doc/qunit.js:2895
↓ 4 callers
Function
calc
(value: number[], count: number)
components/util/md5/md5.ts:73
↓ 4 callers
Function
callDomLoadFunctions
()
components/ux/flash/swfObject.js:128
↓ 4 callers
Function
clamp01
(val)
components/ui/palette/old/palette.ts:2284
↓ 4 callers
Function
combine
(q: number, a: number, b: number, x: number, str: number, t: number)
components/util/md5/md5.ts:103
↓ 4 callers
Function
define
* 定义一个模块。 * @param {string} [path] 模块的路径。 * @param {string[]} [deps] 模块的依赖项。 * @param {Function} factory 模块的内容。 * @return 返回定义的模块。
components/require.js:148
↓ 4 callers
Function
draggable
* Lightweight drag helper. Handles containment within the element, so that * when dragging, the x is within [0,element.width] and y is within [0,e
components/ui/palette/old/palette.ts:1284
↓ 4 callers
Method
enable
* 启用弹层。
components/ux/popup/popup.ts:134
↓ 4 callers
Function
extractStacktrace
(e, offset)
assets/doc/qunit.js:1055
↓ 4 callers
Function
format
(n, i, rm, caller)
components/util/bigNumber/bigNumber.js:1015
↓ 4 callers
Function
getPinYinOfChar
(value: string)
components/util/pinyin/pinyin.ts:413
↓ 4 callers
Function
getRootDir
* 获取项目中指定文件所在的根文件夹。 * @param path 文件的绝对路径或相对路径。
digofile.js:1420
↓ 4 callers
Function
insert
(node: Node, content: string | Node | null, prepend: boolean, sibling: boolean)
components/ux/dom/dom.ts:285
↓ 4 callers
Method
inspect
* 自定义当前对象在调试时的显示文案。
components/util/queue/queue.ts:112
↓ 4 callers
Function
is
(type, obj)
assets/doc/qunit.js:236
↓ 4 callers
Function
isType
* Determines whether an object is of the specified type. * @private * @param {*} value Object to check. * @param {String} type Type to
components/util/xRegExp/xRegExp.js:184
↓ 4 callers
Function
lastIndexOf
(array, value)
components/util/xRegExp/xRegExp.js:164
↓ 4 callers
Function
objectValues
* Makes a clone of an object using only Array or Object as base, * and copies over the own enumerable properties. * * @param {Object} obj
assets/doc/qunit.js:174
↓ 4 callers
Function
on
(elem: HTMLElement | Document, eventName: string, selector: string | typeof listener, listener?: ((e: Event, t
components/ux/dom/dom.ts:739
↓ 4 callers
Function
parsePercent
(value: string)
components/util/color/color.ts:93
↓ 4 callers
Function
pick
* 从指定的路径中找到第一个存在的路径。 * @param paths 搜索的路径列表。
digofile.js:1516
↓ 4 callers
Method
realign
* 重新对齐浮层的位置。 * @return 如果已重新定位则返回定位的结果。
components/ux/popup/popup.ts:340
↓ 4 callers
Function
removeSWF
(id)
components/ux/flash/swfObject.js:490
↓ 4 callers
Method
resume
* 通知当前异步任务已经完成,并继续执行下一个任务。 * @param datas 传递给下个异步任务的数据。 * @example new AsyncQueue().resume()
components/util/asyncQueue/asyncQueue.ts:70
↓ 4 callers
Function
saveGlobal
()
assets/doc/qunit.js:1868
↓ 4 callers
Method
select
* 选中项。 * @param start 选区的第一个节点。 * @param end 选区的最后一个节点。默认同 *from*。 * @param value 如果为 true 则表示选中,如果为 false 则表示不选中。 * @param add 如果
components/ui/multiListBox/multiListBox.tsx:99
↓ 4 callers
Function
setHookFromEnvironment
(hooks, environment, name)
assets/doc/qunit.js:2707
↓ 4 callers
Function
setHookFunction
(module, hookName)
assets/doc/qunit.js:2931
↓ 4 callers
Function
setScroll
(value)
components/ux/swipe/xswipe.ts:112
↓ 4 callers
Function
sourceLink
(member, className)
digofile.js:912
↓ 4 callers
Function
strong_em
( tag, md )
components/util/markdown/markdown.js:977
↓ 4 callers
Function
toExponential
(str, e)
components/util/bigNumber/bigNumber.js:2677
↓ 4 callers
Function
toHex
(val)
components/util/color/color.ts:468
↓ 4 callers
Function
toUrl
* Get the actually url of specified module path.
components/ux/include/include.ts:171
↓ 4 callers
Function
vendor
(propName: string)
components/ux/dom/dom.ts:448
↓ 3 callers
Function
$C
(control)
components/ux/highlight/old/highlightKeywords.ts:3
↓ 3 callers
Function
_4
(p)
components/util/obfuscator/obfuscator.js:215
↓ 3 callers
Method
_progress
* 执行当前队列的第一个异步任务。
components/util/asyncQueue/asyncQueue.ts:41
↓ 3 callers
Function
abstractFbContent
(obj)
components/ux/flash/swfObject.js:395
↓ 3 callers
Function
addColorToSelectionPalette
(color)
components/ui/palette/old/palette.ts:852
↓ 3 callers
Function
appendLink
(key, page, className)
components/ui/pagination/old/pager (2).ts:43
↓ 3 callers
Function
applyOptions
()
components/ui/palette/old/palette.ts:644
↓ 3 callers
Function
augment
* Attaches XRegExp.prototype properties and named capture supporting data to a regex object. * @private * @param {RegExp} regex Regex to aug
components/util/xRegExp/xRegExp.js:99
↓ 3 callers
Function
canExpressInstall
()
components/ux/flash/swfObject.js:326
↓ 3 callers
Function
changePage
(value: number)
components/ui/pagination/old/pager-full.ts:9
↓ 3 callers
Function
classCallCheck
(instance, Constructor)
assets/doc/qunit.js:52
↓ 3 callers
Method
clear
* 删除所有委托函数。 * @example new Delegate().clear()
components/util/delegate/delegate.ts:55
↓ 3 callers
Method
close
* 关闭当前提示框。
components/ui/tipBox/tipBox.tsx:25
↓ 3 callers
Function
connect
(dragEvent: string, dropEvent: string)
components/ux/drop/drop.ts:157
↓ 3 callers
Function
convert
(value: HSL, type: T)
components/util/color/color.ts:188
↓ 3 callers
Function
createSWF
(attObj, parObj, id)
components/ux/flash/swfObject.js:425
↓ 3 callers
Method
down
(e: KeyboardEvent)
components/ui/listBox/listBox.tsx:177
↓ 3 callers
Method
emit
* 触发一个事件。 * @param eventName 要触发的事件名。 * @param eventArgs 传递给监听器的所有参数。 * @return 如果事件被阻止则返回 false,否则返回 true。 * @example * var
components/util/events/events.ts:76
↓ 3 callers
Function
exportModule
assets/doc/doc.js:423
↓ 3 callers
Function
fixProp
(options, elem, prop)
components/ux/animate/old/tween.ts:293
↓ 3 callers
Function
forEach
(iterable: ArrayLike<T> | { [key: string]: T }, callback: (value: T, key: any, iterable: any) => boolean | voi
components/util/object/object.ts:110
↓ 3 callers
Function
generateHash
(module, testName)
assets/doc/qunit.js:242
↓ 3 callers
Function
getAbsoluteUrl
* Get the absolute url of specified script or link node.
components/ux/include/include.ts:122
↓ 3 callers
Function
getContent
()
components/ux/clipboard/clipboard-more.ts:37
↓ 3 callers
Function
getContent
()
components/ux/clipboard/zeroClipboard.js:21
↓ 3 callers
Function
getId
(thing)
components/ux/flash/swfObject.js:519
↓ 3 callers
Function
getMeta
(name, content)
digofile.js:1075
↓ 3 callers
Function
getObjectById
(objectIdStr)
components/ux/flash/swfObject.js:298
↓ 3 callers
Function
hasPlayerVersion
(rv)
components/ux/flash/swfObject.js:557
↓ 3 callers
Function
header
(level, anchor, content, member)
digofile.js:903
↓ 3 callers
Function
hide
(elem: HTMLElement, animation?: ToggleAnimation, callback?: (this: HTMLElement, value: boolean) => void, durat
components/ux/dom/dom.ts:1216
↓ 3 callers
Function
hue
(v, cv)
components/util/color/color.ts:136
↓ 3 callers
Function
hue2rgb
(p, q, t)
components/ui/palette/old/palette.ts:1790
↓ 3 callers
Method
invalidate
* 使当前控件无效并在下一帧重新渲染。
components/ui/control/control.tsx:93
↓ 3 callers
Function
join
(pre, arr, post)
assets/doc/qunit.js:678
↓ 3 callers
Function
keyPress
(elem: HTMLElement, options: KeyPressOptions)
components/ux/keyPress/keyPress.ts:112
↓ 3 callers
Method
layout
* 重新布局当前控件。
components/ui/control/control.tsx:133
↓ 3 callers
Function
make_list
( m )
components/util/markdown/markdown.js:511
↓ 3 callers
Function
match
(elem: Element, selector: string)
components/ux/dom/dom.ts:107
↓ 3 callers
Function
matchVersions
()
components/ux/flash/swfObject.js:227
↓ 3 callers
Function
memberAnchor
(classMember, key)
digofile.js:1041
↓ 3 callers
Function
multiply
(x, k, base)
components/util/bigNumber/bigNumber.js:755
↓ 3 callers
Function
nextTick
(func: Function)
components/ux/nextTick/nextTick.ts:33
↓ 3 callers
Function
normalise
(n, c, e)
components/util/bigNumber/bigNumber.js:1114
↓ 3 callers
Function
off
(elem: HTMLElement | Document, eventName: string, selector?: string | typeof listener, listener?: (e: Event, t
components/ux/dom/dom.ts:951
↓ 3 callers
Function
paletteTemplate
(p, color, className, opts)
components/ui/palette/old/palette.ts:541
↓ 3 callers
Function
processModule
(name, options, executeNow)
assets/doc/qunit.js:2693
↓ 3 callers
Function
querySelector
(node: Element | Document | string, selector?: string, first?: boolean)
components/ux/dom/dom.ts:92
↓ 3 callers
Function
removeClass
(elem, name)
assets/doc/qunit.js:3152
← previous
next →
101–200 of 1,533, ranked by callers