add post-boot frame structure
This commit is contained in:
parent
4b77bef6ef
commit
ea53a98f70
2 changed files with 32 additions and 3 deletions
|
|
@ -24,7 +24,21 @@ function endBoot(root) {
|
|||
}
|
||||
);
|
||||
|
||||
fade.onfinish = () => root.remove();
|
||||
fade.onfinish = () => {
|
||||
root.remove();
|
||||
document
|
||||
.querySelector("main")
|
||||
.animate(
|
||||
[
|
||||
{ visibility: "visible" },
|
||||
{ visibility: "visible", opacity: 1 }
|
||||
],
|
||||
{
|
||||
duration: 400,
|
||||
fill: "forwards",
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue