Comments (2)
Hi @RichardBr,
just add the following in you index.html
below the blazor.webassembly.js
script and it works.
<script src="_content/BlazorAnimate/blazorAnimateInterop.js"></script>
@mikoskinen I suggest you include the blazorAnimateInterop.js
file as embedded resource. I use project configuration like below for this.
<ItemGroup>
<!-- .js/.css files will be referenced via <script>/<link> tags; other content files will just be included in the app's 'dist' directory without any tags referencing them -->
<EmbeddedResource Include="content\**\*.js" LogicalName="blazor:js:%(RecursiveDir)%(Filename)%(Extension)" />
<EmbeddedResource Include="content\**\*.css" LogicalName="blazor:css:%(RecursiveDir)%(Filename)%(Extension)" />
<EmbeddedResource Include="content\**" Exclude="**\*.ts;**\*.js;**\*.css" LogicalName="blazor:file:%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
from blazor.animate.
Thank you @mgernand for the tip. There's now a new 2.0.0 release available which targets .NET Core 3.1. I used the the method mentioned here dotnet/aspnetcore#13103 (comment) to make sure that things should now work better with the Webassembly version of Blazor.
@RichardBr there's now a new WebAssembly-based sample in the repository.
from blazor.animate.
Related Issues (20)
- Transition Animations HOT 1
- File blazorAnimateInterop.js not minimised fully
- I have sdk 3.1 but visual studio says it cannot find the .net core SDK HOT 1
- Hot to trigger animation in code behind before hiding componetns
- Add AnimatedIn and AnimatedOut events to component HOT 1
- Not working with Bootstrap modal
- Animate disappearing or moving elements? Or just appearing ones? HOT 2
- manual didnt work
- Blazor.Animate is now part of Blazorise HOT 5
- Decide which element to render
- No way to reverse an animation without an anchor?
- Delay doesn't seem to do anything HOT 2
- Page shows element before animation on Blazor Server HOT 1
- Reverse effect HOT 2
- Demo Site is Broken HOT 1
- Bootstrap 4 - Dropdowns
- not working without internet connection
- I don't think the WebAssembly demo is working
- Animates twice HOT 5
- Cant apply Easing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blazor.animate.