Правка типов
This commit is contained in:
parent
ed93c5646a
commit
410a1c3235
5 changed files with 163 additions and 11 deletions
|
|
@ -396,7 +396,7 @@ const {
|
|||
const observer = new IntersectionObserver((entries) => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
const el = entry.target;
|
||||
const el = entry.target as HTMLElement;
|
||||
const delay = parseInt(el.dataset.delay || '0');
|
||||
|
||||
setTimeout(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue