UNPKG
vimo-dt
Version:
latest (1.0.4)
1.0.4
1.0.2
1.0.1
0.10.0
A Vue2.x UI Project For Mobile & HyBrid
github.com/vm-component/vimo
vm-component/vimo
vimo-dt
/
lib
/
util
/
get-insert-position.js
9 lines
(8 loc)
•
218 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
default
= getInsertPosition;
function
getInsertPosition
(
position
) {
return
document
.
getElementById
(position) ||
document
.
body
; }