BottomSheet: first attempt for animation
This commit is contained in:
parent
1c0a83dbab
commit
2d7b931ef8
13 changed files with 196 additions and 20 deletions
8
src/platform/polyfills.ts
Normal file
8
src/platform/polyfills.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
//! This module has side effect.
|
||||
//! It recommended to include the module by <script> tag.
|
||||
if (!document.body.animate) {
|
||||
// @ts-ignore: this file is polyfill, no exposed decls
|
||||
import("web-animations-js").then(() => {
|
||||
console.warn("web animation polyfill is included");
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue