MCPcopy Create free account

hub / github.com/Teal/TealUI / functions

Functions1,533 in github.com/Teal/TealUI

↓ 128 callersMethodon
* 添加一个事件监听器。 * @param eventName 要添加的事件名。 * @param eventListener 要添加的事件监听器。 * @example new EventEmitter().on("click", function (e) { })
components/util/events/events.ts:17
↓ 102 callersMethodformat
* 格式化指定的对象为标准地址。 * @param obj 要格式化的对象。
components/util/url/url.ts:664
↓ 94 callersFunctionbind
(target?: any, propertyName?: string, selector?: any, prop?: string, args?: any, descriptor?: PropertyDescript
components/ui/control/control.tsx:875
↓ 83 callersMethodfind
* 在当前控件查找指定的子控件或节点。 * @param selector 要查找的 CSS 选择器。如果为空则返回根控件或节点。 * @return 返回子控件或节点。如果找不到则返回 null。
components/ui/control/control.tsx:163
↓ 69 callersFunctioninclude
* 快速导入一个脚本、样式或 HTML 片段。 * @param {String} modulePath 要载入的模块路径,模块路径相对于当前文件路径。 * @param {Boolean} [async=false] 指示是否异步载入模块。
components/ux/include/include.ts:13
↓ 65 callersMethodtoString
* 转换当前地址为字符串。
components/util/url/url.ts:585
↓ 57 callersFunction$
()
components/ux/highlight/old/highlightKeywords.ts:3
↓ 54 callersMethodextend
* 继承当前类创建派生类。 * @param prototype 子类实例成员列表。其中 `contructor` 成员表示类型构造函数。 * @return 返回继承创建的子类。 * @desc * 此函数只实现单继承。不同于真正面向对象的语言,
components/util/class/class.ts:24
↓ 52 callersFunctiontinycolor
(color, opts)
components/ui/palette/old/palette.ts:1446
↓ 45 callersMethodparse
* 解析指定的地址并填充信息到当前地址。 * @param url 要解析的地址。 * @param parseQueryString 是否解析查询字符串。 * @param slashesDenoteHost 允许 "/" 作为主机名解析。
components/util/url/url.ts:96
↓ 44 callersMethodmatch
(value: string, item: string)
components/ui/suggest/suggest.tsx:35
↓ 36 callersMethodhide
* 隐藏当前弹层。
components/ui/popup/popup.tsx:187
↓ 32 callersFunctioncallback
(count: number)
components/util/function/function.ts:87
↓ 31 callersMethodadd
* 增加一个委托函数。 * @param func 要增加的函数。 * @example new Delegate().add(function () {})
components/util/delegate/delegate.ts:33
↓ 28 callersMethodoff
* 删除指定或所有的事件监听器。 * @param eventName 要删除的事件名。如果不传递此参数,则删除所有事件监听器。 * @param eventListener 要删除的事件监听器。如果不传递此参数,则删除指定事件的所有监听器。如果同一个事件被多次添加,则只删除第一
components/util/events/events.ts:38
↓ 28 callersMethodok
* 点击确定按钮。
components/ui/messageBox/messageBox.tsx:24
↓ 25 callersMethodthen
* 添加当前确认对象已解析后的回掉函数。 * @param onFulfilled 对象已解析后执行。 * @param onRejected 对象已阻止后执行。 * @return 返回新确认对象。 * @since ES6 * @see http
components/util/shim/promise-shim.js:106
↓ 24 callersFunctionbound01
(n, max)
components/ui/palette/old/palette.ts:2268
↓ 24 callersFunctionescapeText
(s)
assets/doc/qunit.js:3081
↓ 23 callersFunctionid
(name)
assets/doc/qunit.js:3164
↓ 23 callersMethodremove
* 删除一个委托函数。 * @param func 要删除的函数。 * @example new Delegate().remove(function () {})
components/util/delegate/delegate.ts:43
↓ 20 callersFunctiongetRect
(elem: HTMLElement | Document)
components/ux/dom/dom.ts:638
↓ 19 callersFunctionrequire
* 载入一个模块。 * @param {string | string[]} path 要载入的模块路径。 * @param {Function} [callback] 模块载入后的回调函数。 * @return 返回模块的导出项。
components/require.js:7
↓ 17 callersFunctiongetStyle
(elem: HTMLElement, propName: string)
components/ux/dom/dom.ts:467
↓ 17 callersFunctionobjectType
(obj)
assets/doc/qunit.js:201
↓ 17 callersMethodtoggle
* 切换显示或隐藏当前弹层。 * @param value 如果为 true 则强制显示。如果为 false 则强制隐藏。
components/ui/popup/popup.tsx:195
↓ 16 callersFunctionaddEvent
(elem, type, fn)
assets/doc/qunit.js:3119
↓ 16 callersFunctionproc
(j0: number, j1: number, j2: number, j3: number, ts0: number, ts1: number, ts2: number, ts3: number)
components/util/md5/md5.ts:107
↓ 16 callersMethodshow
* 显示当前弹层。
components/ui/popup/popup.tsx:175
↓ 15 callersFunctiondata
(obj: any)
components/ui/control/control.tsx:833
↓ 15 callersMethodquery
* 在当前控件查找匹配的所有子控件或节点。 * @param selector 要查找的 CSS 选择器。如果为空则返回根控件或节点。 * @return 返回子控件或节点列表。
components/ui/control/control.tsx:177
↓ 14 callersMethodchildren
* 内部子节点。
components/ui/control/control.tsx:112
↓ 14 callersFunctionget
(opts)
components/ui/palette/old/palette.ts:1021
↓ 14 callersMethodnext
()
components/util/queue/queue.ts:43
↓ 14 callersFunctiontoInt
(str)
components/ux/flash/swfObject.js:543
↓ 13 callersFunctionget
(state, line)
digofile.js:1175
↓ 13 callersFunctionraise
(caller, msg, val)
components/util/bigNumber/bigNumber.js:1191
↓ 13 callersFunctionround
(x, sd, rm, r)
components/util/bigNumber/bigNumber.js:1232
↓ 12 callersFunctioncompare
(date)
components/ui/calender/old/calender.ts:576
↓ 12 callersMethodenqueue
* 将指定的项添加到队列末尾。 * @param item 要添加的项。
components/util/queue/queue.ts:60
↓ 12 callersFunctionfn
()
components/util/function/function-test.ts:43
↓ 12 callersMethodget
(elem: HTMLElement, args?: string)
components/ui/control/control.tsx:683
↓ 12 callersMethodshow
* 显示一个消息框。 * @param content 消息框的内容。 * @param title 消息框的标题。 * @param buttons 消息框的按钮。 * @param icon 消息框的图标。 * @param onOk 点击确定事
components/ui/messageBox/messageBox.tsx:109
↓ 12 callersFunctionsourceFromStacktrace
(offset)
assets/doc/qunit.js:1081
↓ 12 callersFunctiontypeToLink
(type)
digofile.js:1019
↓ 12 callersMethodupdate
* 重新渲染当前控件。
components/ui/control/control.tsx:71
↓ 11 callersFunctionadd
(li, loose, inline, nl)
components/util/markdown/markdown.js:441
↓ 11 callersMethodappend
* 添加一个或多个子节点。 * @param child 要添加的子内容。 * @return 返回 *child*。
components/ui/control/control.tsx:461
↓ 11 callersFunctionbitFloor
(n)
components/util/bigNumber/bigNumber.js:2565
↓ 11 callersMethodcontains
* 判断指定的拖动元素是否已进入当前拖放区域。 * @param draggable 当前的拖动元素。 * @param e 事件对象。 * @return 如果在区域内则返回 true,否则返回 false。
components/ux/drop/drop.ts:150
↓ 10 callersFunctionappend
(node: Node, content: string | Node | null)
components/ux/dom/dom.ts:251
↓ 10 callersFunctioncreateElement
(el)
components/ux/flash/swfObject.js:538
↓ 10 callersFunctiondiv
(x: number, y: number)
components/util/currency/currency.ts:41
↓ 10 callersFunctionextend
(a, b, undefOnly)
assets/doc/qunit.js:187
↓ 10 callersFunctionparseIntFromHex
(val)
components/ui/palette/old/palette.ts:2288
↓ 10 callersMethodsetValue
* 设置当前滑块的值。 * @param value 要设置的值(0-1 之间)。
components/ux/splitter/splitter.ts:47
↓ 9 callersFunctioncoeffToString
(a)
components/util/bigNumber/bigNumber.js:2572
↓ 9 callersFunctioncompare
(a, b, aL, bL)
components/util/bigNumber/bigNumber.js:776
↓ 9 callersFunctioncomputeStyle
(elem: HTMLElement, ...propNames: string[])
components/ux/dom/dom.ts:489
↓ 9 callersMethoddequeue
* 取出队首的项。 * @return 返回队首的项。如果队列为空则返回 undefined。
components/util/queue/queue.ts:77
↓ 9 callersFunctiondone
* This function is called when the ProcessingQueue is done processing all * items. It handles emitting the final run events.
assets/doc/qunit.js:1191
↓ 9 callersFunctionextract_attr
( jsonml )
components/util/markdown/markdown.js:1355
↓ 9 callersFunctiongetScroll
(elem: HTMLElement | Document)
components/ux/dom/dom.ts:543
↓ 9 callersFunctionsafeAdd
(x: number, y: number)
components/util/sha1/sha1.ts:65
↓ 9 callersMethodselect
* 全选当前控件。
components/ui/textBox/textBox.tsx:25
↓ 8 callersFunctionaddClass
(elem, name)
assets/doc/qunit.js:3138
↓ 8 callersMethodcreate
* 创建一个弹层。 * @param elem 要弹出的元素或控件。 * @param target 触发弹层显示的元素或控件。 * @param event 触发弹层显示的事件。 * @param align 显示弹层时使用的动画。如果为 null 则保留默
components/ui/popup/popup.tsx:274
↓ 8 callersFunctionformat
(num: number)
components/ux/countDown/countDown.ts:69
↓ 8 callersMethodhide
* 隐藏当前浮层。
components/ux/popup/popup.ts:299
↓ 8 callersMethodrenderTo
* 将当前控件渲染到指定的父控件或节点。 * @param parent 要渲染的目标控件或节点。如果为 null 则移除当前控件。 * @param refChild 在指定的子控件或节点前添加,如果为空则添加到末尾。
components/ui/control/control.tsx:140
↓ 8 callersFunctionsafeAdd
(x: number, y: number)
components/util/md5/md5.ts:99
↓ 8 callersFunctionscrollIntoViewIfNeeded
(elem: HTMLElement | Document, scrollable: HTMLElement | Document = scrollParent(elem), duration?: number, pad
components/ux/scroll/scroll.ts:139
↓ 8 callersMethodset
* 当被子类重写时负责根据指定的变化量设置实际的效果值。 * @param x 当前的变化因子,大小在 0-1 之间。
components/util/tween/tween.ts:33
↓ 8 callersMethodstart
* 开始执行渐变。
components/util/tween/tween.ts:43
↓ 8 callersFunctiontoFixedPoint
(str, e)
components/util/bigNumber/bigNumber.js:2683
↓ 7 callersFunctionemit
* Emits an event with the specified data to all currently registered listeners. * Callbacks will fire in the order in which they are registered (FI
assets/doc/qunit.js:968
↓ 7 callersFunctionfrom
(value: NodeLike | null, oldVNode?: VNode)
components/ui/control/control.tsx:996
↓ 7 callersFunctiongetElementById
(id)
components/ux/flash/swfObject.js:525
↓ 7 callersFunctionhide
()
components/ui/palette/old/palette.ts:982
↓ 7 callersFunctionisArray
(obj)
components/util/bigNumber/bigNumber.js:2642
↓ 7 callersFunctionmove
()
components/ui/palette/old/palette.ts:1036
↓ 7 callersFunctionpad2
(c)
components/ui/palette/old/palette.ts:2301
↓ 7 callersFunctionrunLoggingCallbacks
(key, args)
assets/doc/qunit.js:1042
↓ 7 callersFunctionset
(color, ignoreFormatChange)
components/ui/palette/old/palette.ts:997
↓ 7 callersMethodsetCustomValidity
* 设置自定义的验证消息。 * @param validityResult 要报告的验证结果。
components/ui/input/input.tsx:434
↓ 7 callersFunctionsetVisibility
(id, isVisible)
components/ux/flash/swfObject.js:598
↓ 7 callersMethodshow
* 显示当前浮层。
components/ux/popup/popup.ts:283
↓ 7 callersFunctionupDown
(isUp, prev, end)
components/ui/menu/menu.tsx:179
↓ 7 callersFunctionupdateOriginalInput
(fireCallback)
components/ui/palette/old/palette.ts:1142
↓ 6 callersMethodend
(status, data)
components/util/shim/promise-shim.js:108
↓ 6 callersFunctionpushFailure
()
assets/doc/qunit.js:1857
↓ 6 callersFunctionresolve
(...paths: string[])
components/util/path/path.ts:20
↓ 6 callersFunctionsetStyle
(elem: HTMLElement, propName: string, value: string | number)
components/ux/dom/dom.ts:478
↓ 6 callersFunctionupdateUI
()
components/ui/palette/old/palette.ts:1041
↓ 5 callersMethodall
* 创建一个新确认对象,该对象等待所有确认对象都已确认。 * @param promises 要等待的所有确认对象。 * @return 返回新确认对象。 * @since ES6 * @see https://developer.mozilla.org/zh
components/util/shim/promise-shim.js:147
↓ 5 callersFunctionbind
* Create a function bound to a given object * Thanks to underscore.js
components/ui/palette/old/palette.ts:1273
↓ 5 callersFunctionconvertToPercentage
(n)
components/ui/palette/old/palette.ts:2305
↓ 5 callersFunctioncopy
* Copies a regex object while preserving special properties for named capture and augmenting with * `XRegExp.prototype` methods. The copy has a f
components/util/xRegExp/xRegExp.js:136
↓ 5 callersFunctiondetail
(classMember, member)
digofile.js:1045
↓ 5 callersFunctionend
(e: Event)
components/ux/dom/dom.ts:1093
next →1–100 of 1,533, ranked by callers