add import linting + fix checks
This commit is contained in:
parent
ea2d8b2773
commit
902f722d4c
17 changed files with 317 additions and 173 deletions
|
|
@ -26,7 +26,7 @@ export const backgroundImage = function (src, animateOptions = {}) {
|
|||
({
|
||||
style: () => (container.style = bg + ';' + value),
|
||||
className: () => (container.className = value + ' ' + initialClassName),
|
||||
}[option]());
|
||||
})[option]();
|
||||
};
|
||||
const funcOptions = Object.entries(animateOptions).filter(([_, v]) => typeof v === 'function');
|
||||
const stringOptions = Object.entries(animateOptions).filter(([_, v]) => typeof v === 'string');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue