We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
is it possible to integrate in s svelte native app?
The text was updated successfully, but these errors were encountered:
sure you just need to register the element following svelte-native doc (on my phone right now)
Sorry, something went wrong.
Hello This is how you can make it work in svelte - native , it worked with :
import { registerNativeViewElement } from "svelte-native/dom"; registerNativeViewElement( "LottieView", () => require("@nativescript-community/ui-lottie").LottieView );
Add it to your root APP.ts
Then you can directly use it in any .Svelte file in your project as this
<stackLayout> <lottieView src="loading.json" height="100" loop="true" autoPlay="true" loaded="yourLoadedEvent" /> </stackLayout>
No branches or pull requests
is it possible to integrate in s svelte native app?
The text was updated successfully, but these errors were encountered: