-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnowman.js
54 lines (46 loc) · 1.21 KB
/
snowman.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import { commonCSSClassPrefix } from "./constants.js";
import createLayout from "./create_layout.js";
import { yep } from "./yep_anim.js";
const snowman = createLayout({
elementname: "snowman",
tag: "div",
classname: `${commonCSSClassPrefix}_snowman`,
appendchild: yep,
});
export const hat = createLayout({
elementname: "hat",
tag: "div",
classname: `${commonCSSClassPrefix}_hat`,
appendto: snowman,
});
export const scarf = createLayout({
elementname: "scarf",
tag: "div",
classname: `${commonCSSClassPrefix}_scarf`,
appendto: snowman,
});
export const buttonTop = createLayout({
elementname: "buttonTop",
tag: "div",
classname: `${commonCSSClassPrefix}_button_top`,
appendto: snowman,
});
export const buttonBottom = createLayout({
elementname: "buttonBottom",
tag: "div",
classname: `${commonCSSClassPrefix}_button_bottom`,
appendto: snowman,
});
export const leftGlove = createLayout({
elementname: "leftGlove",
tag: "div",
classname: `${commonCSSClassPrefix}_left_glove`,
appendto: snowman,
});
export const rightGlove = createLayout({
elementname: "rightGlove",
tag: "div",
classname: `${commonCSSClassPrefix}_right_glove`,
appendto: snowman,
});
export default snowman;