📄 split.min.js
¶
📊 Analysis Summary¶
Metric | Count |
---|---|
🔧 Functions | 15 |
📊 Variables & Constants | 47 |
📚 Table of Contents¶
🛠️ File Location:¶
📂 manual/3rdparty/split.min.js
Variables & Constants¶
Name | Type | Kind | Value | Exported |
---|---|---|---|---|
e |
Window & typeof globalThis |
let/var | window |
✗ |
t |
Document |
let/var | e.document |
✗ |
n |
string |
let/var | "addEventListener" |
✗ |
i |
string |
let/var | "removeEventListener" |
✗ |
r |
string |
let/var | "getBoundingClientRect" |
✗ |
o |
boolean |
let/var | e.attachEvent&&!e[n] |
✗ |
a |
string |
let/var | ["","-webkit-","-moz-","-o-"].filter(function(e){var n=t.createElement("div")... |
✗ |
t |
any |
let/var | E[this.a] |
✗ |
n |
any |
let/var | E[this.b] |
✗ |
i |
any |
let/var | t.size+n.size |
✗ |
t |
any |
let/var | *not shown* |
✗ |
e |
any |
let/var | E[this.a].element |
✗ |
t |
any |
let/var | E[this.b].element |
✗ |
t |
this |
let/var | this |
✗ |
n |
any |
let/var | E[t.a].element |
✗ |
r |
any |
let/var | E[t.b].element |
✗ |
i |
this |
let/var | this |
✗ |
r |
any |
let/var | E[i.a].element |
✗ |
o |
any |
let/var | E[i.b].element |
✗ |
i |
any |
let/var | F[n-1] |
✗ |
r |
any |
let/var | E[i.a] |
✗ |
s |
any |
let/var | E[i.b] |
✗ |
y |
any |
let/var | *not shown* |
✗ |
b |
any |
let/var | *not shown* |
✗ |
G |
any |
let/var | *not shown* |
✗ |
E |
any |
let/var | *not shown* |
✗ |
w |
any |
let/var | l(u[0]).parentNode |
✗ |
D |
string |
let/var | e.getComputedStyle(w).flexDirection |
✗ |
U |
any |
let/var | c.sizes\|\|u.map(function(){return 100/u.length}) |
✗ |
k |
any |
let/var | void 0!==c.minSize?c.minSize:100 |
✗ |
x |
any |
let/var | Array.isArray(k)?k:u.map(function(){return k}) |
✗ |
L |
any |
let/var | void 0!==c.gutterSize?c.gutterSize:10 |
✗ |
M |
any |
let/var | void 0!==c.snapOffset?c.snapOffset:30 |
✗ |
O |
any |
let/var | c.direction\|\|"horizontal" |
✗ |
j |
any |
let/var | c.cursor\|\|("horizontal"===O?"ew-resize":"ns-resize") |
✗ |
C |
any |
let/var | c.gutter\|\|function(e,n){var i=t.createElement("div");return i.className="gu... |
✗ |
i |
{} |
let/var | {} |
✗ |
A |
any |
let/var | c.elementStyle\|\|function(e,t,n){var i={};return"string"==typeof t\|\|t inst... |
✗ |
n |
any |
let/var | *not shown* |
✗ |
B |
any |
let/var | c.gutterStyle\|\|function(e,t){return n={},n[e]=t+"px",n;var n} |
✗ |
F |
any[] |
let/var | [] |
✗ |
i |
any |
let/var | *not shown* |
✗ |
s |
{ element: any; size: any; minSize: a... |
let/var | {element:l(e),size:U[t],minSize:x[t]} |
✗ |
a |
number |
let/var | i.a |
✗ |
f |
any |
let/var | s.element[r]()[y] |
✗ |
t |
any |
let/var | F[e-1] |
✗ |
n |
any |
let/var | F[e] |
✗ |
Functions¶
s(): boolean
¶
Returns: boolean
l(e: any): any
¶
Parameters:
e
any
Returns: any
Calls:
t.querySelector
z(e: any, t: any, n: any): void
¶
Parameters:
e
any
t
any
n
any
Returns: void
Calls:
A
Object.keys(i).forEach
h(e: any, t: any): void
¶
Parameters:
e
any
t
any
Returns: void
Calls:
B
Object.keys(n).forEach
f(e: any): void
¶
Parameters:
e
any
Returns: void
Calls:
z
Code
m(e: any): void
¶
Parameters:
e
any
Returns: void
Calls:
f.call
c.onDrag
Code
function m(e){var t;this.dragging&&((t="touches"in e?e.touches[0][b]-this.start:e[b]-this.start)<=E[this.a].minSize+M+this.aGutterSize?t=E[this.a].minSize+this.aGutterSize:t>=this.size-(E[this.b].minSize+M+this.bGutterSize)&&(t=this.size-(E[this.b].minSize+this.bGutterSize)),f.call(this,t),c.onDrag&&c.onDrag())}
g(): void
¶
Returns: void
Calls:
complex_call_1346
complex_call_1356
complex_call_1411
Code
d(): void
¶
Returns: void
Calls:
c.onDragEnd
complex_call_1532
complex_call_1555
complex_call_1579
complex_call_1606
complex_call_1638
complex_call_1698
complex_call_1720
complex_call_1740
complex_call_1762
Code
function d(){var t=this,n=E[t.a].element,r=E[t.b].element;t.dragging&&c.onDragEnd&&c.onDragEnd(),t.dragging=!1,e[i]("mouseup",t.stop),e[i]("touchend",t.stop),e[i]("touchcancel",t.stop),t.parent[i]("mousemove",t.move),t.parent[i]("touchmove",t.move),delete t.stop,delete t.move,n[i]("selectstart",s),n[i]("dragstart",s),r[i]("selectstart",s),r[i]("dragstart",s),n.style.userSelect="",n.style.webkitUserSelect="",n.style.MozUserSelect="",n.style.pointerEvents="",r.style.userSelect="",r.style.webkitUserSelect="",r.style.MozUserSelect="",r.style.pointerEvents="",t.gutter.style.cursor="",t.parent.style.cursor=""}
S(t: any): void
¶
Parameters:
t
any
Returns: void
Calls:
c.onDragStart
t.preventDefault
m.bind
d.bind
complex_call_2202
complex_call_2225
complex_call_2249
complex_call_2276
complex_call_2308
complex_call_2340
complex_call_2362
complex_call_2382
complex_call_2404
g.call
Code
function S(t){var i=this,r=E[i.a].element,o=E[i.b].element;!i.dragging&&c.onDragStart&&c.onDragStart(),t.preventDefault(),i.dragging=!0,i.move=m.bind(i),i.stop=d.bind(i),e[n]("mouseup",i.stop),e[n]("touchend",i.stop),e[n]("touchcancel",i.stop),i.parent[n]("mousemove",i.move),i.parent[n]("touchmove",i.move),r[n]("selectstart",s),r[n]("dragstart",s),o[n]("selectstart",s),o[n]("dragstart",s),r.style.userSelect="none",r.style.webkitUserSelect="none",r.style.MozUserSelect="none",r.style.pointerEvents="none",o.style.userSelect="none",o.style.webkitUserSelect="none",o.style.MozUserSelect="none",o.style.pointerEvents="none",i.gutter.style.cursor=j,i.parent.style.cursor=j,g.call(i)}
v(e: any): void
¶
Parameters:
e
any
Returns: void
Calls:
e.forEach
z
Code
p(): void
¶
Returns: void
Calls:
F.forEach
e.parent.removeChild
Code
getSizes(): any
¶
Returns: any
Calls:
E.map
collapse(e: any): void
¶
Parameters:
e
any
Returns: void
Calls:
g.call
f.call
Code
getSizes(): any
¶
Returns: any
Calls:
E.map
collapse(e: any): void
¶
Parameters:
e
any
Returns: void
Calls:
g.call
f.call