-
Notifications
You must be signed in to change notification settings - Fork 8
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
Tips For Developers Using This Project #9
Comments
You had any luck w/ AOS? |
Yes I was able to get AOS working as part of a BootstrapMade template |
Any tips or an example? TBH, I'm not seasoned in js at all, so it is hard to me figuring it out. Thanks in advance! |
@obrana-boranija I should be able to post a functional example of AOS within the next week... however the example will be based on Oqtane (https://github.com/oqtane/oqtane.framework) so the implementation will be slightly different than the samples which Mackinnon provided in this repo. |
@sbwalker In the meantime, do you think I'm on the right path here?
It is working, but I have concerns about optimization and memory leaks. As I already said, I am not proficient in JS, so it's better to ask someone seasoned. :) |
@obrana-boranija I published a repo with a functional example of how blazor-page-script is used in Oqtane: https://github.com/oqtane/Oqtane.Theme.Arsha As I mentioned above, how you integrate blazor-page-script will vary based upon the requirements of your own application... but the script you posted above looks fine to me at first glance. |
Thank you @sbwalker for posting this. I was having trouble having bootstrap event (hovers, clicks) working with the theme I'm working with. Turns out the author had bundled bootstrap with the theme specific javascript, and when using enhanced navigation with the pagescript component, all bootstrap event handlers stopped working on every 2nd update. I yanked bootstrap from there after looking how you're doing it in the octane theme, and loading it normally with my other vendor libraries. Only took me 8 hours to figure out what was going on and prevented me from deciding on using JSInterop lol :) |
Thank you @MackinnonBuck for providing this sample project - I integrated it into Oqtane (https://github.com/oqtane/oqtane.framework) so that we can provide developers with a much easier method for integrating Bootstrap templates.
A few notes for other developers who may be interested in utilizing this BlazorPageScript component:
becomes
The text was updated successfully, but these errors were encountered: