Skip to content

Commit

Permalink
fix: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
yitengjun committed Aug 20, 2023
1 parent 002d9bb commit 55fa4c2
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 68 deletions.
11 changes: 0 additions & 11 deletions dist/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import type { UkiyoOptions, TElement } from './types.ts';
export default class Ukiyo {
readonly elements: HTMLElement[];
readonly options?: UkiyoOptions;
private instances;
readonly externalRAF: boolean;
private requestId?;
private timer?;
readonly onResizeEvent: EventListenerOrEventListenerObject;
private isInit;
constructor(elements: TElement | null, options?: UkiyoOptions);
/**
* Initializes
Expand All @@ -17,10 +14,6 @@ export default class Ukiyo {
* Animation
*/
animate(): void;
/**
* Cancel animation
*/
private cancel;
/**
* Reset all instances
*/
Expand All @@ -29,10 +22,6 @@ export default class Ukiyo {
* Resize event
*/
private resize;
/**
* Add event listeners
*/
private addEventListeners;
/**
* Destroy all instances
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/ukiyo.esm.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 55fa4c2

Please sign in to comment.