diff --git a/src/scripts/lib/util.js b/src/scripts/lib/util.js index ef26ecc..027f9f0 100644 --- a/src/scripts/lib/util.js +++ b/src/scripts/lib/util.js @@ -146,5 +146,13 @@ export const startEndAnimation = () => { end_animation__end.addEventListener('animationend', e => { root.removeChild(end_animation) + startTopPage() }) } + +/** + * top-pageの開始 + */ +export const startTopPage = () => { + top_page.setAttribute('data-state', 'start') +}