Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make options parameter optional in dotLottieInstance.toArrayBuffer #66

Open
theashraf opened this issue Apr 23, 2024 · 0 comments
Open

Comments

@theashraf
Copy link
Member

Currently, the dotLottieInstance.toArrayBuffer method requires an options object to be passed as an argument. This requirement can be inconvenient for users who do not need to specify any options. It would be beneficial to make the options parameter optional, allowing the method to be called without any arguments.

Current Behavior:
Calling dotLottieInstance.toArrayBuffer() without an argument results in a type error

Expected Behavior:
The dotLottieInstance.toArrayBuffer() method should execute without error when called without the options argument, using default settings internally if no options are provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant