UNPKG
ui-dropdown
Version:
latest (1.1.1)
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
A custom dropdown element
github.com/JoseBarrios/ui-dropdown
JoseBarrios/ui-dropdown
ui-dropdown
/
vendors
/
popper
/
packages
/
test-utils
/
utils
/
makeConnectedElement.js
10 lines
(8 loc)
•
271 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
makeElement
from
'./makeElement'
;
/** * Create an element that's connected to the DOM. */
export
default
function
makeConnectedElement
(
) {
const
jasmineWrapper =
document
.
getElementById
(
'jasmineWrapper'
);
return
jasmineWrapper.
appendChild
(
makeElement
()); }