B4J Tutorial [BANanoVuetifyAD3] Create Professional Looking Vuetify WebSites & WebApps with BANano

roberto64

Active Member
Licensed User
Longtime User
Hello Mashiane , the double // have been fixed but nothing always the same error.
regards
 
Last edited:

Mashiane

Expert
Licensed User
Longtime User
Part 64 is out, We create floating action buttons and change the theme to dark at runtime.

Download



Changing the theme to dark is toggleable function:

We add a switch to the navbar and set its v-model/value to false.

B4X:
'add switch to toggle theme
    Dim swtTheme As  VueElement = vappbar.AddSwitch("changetheme", "mytheme", "Theme", Null, Null, "", True, Null)
    swtTheme.MT = 6
    swtTheme.ML = 4
    vuetify.BindVueElement(swtTheme)
    vuetify.SetData("mytheme", False)

When its changed from true/false, we change the theme.

B4X:
Sub changetheme_change(b As Boolean)
    vuetify.SetDarkTheme(b)
End Sub
 
Last edited:

Mashiane

Expert
Licensed User
Longtime User
Part 70 is out.

We install a new abstract designer based layout to make it easy to create projects.



Related Article

 
Last edited:

Mashiane

Expert
Licensed User
Longtime User
Part 71 is out, we have started looking at Animations (incomplete), however

Download

What's new

1. The font resources have been moved out of core, if you want to host the fonts locally, use the provided library from the External Folders Libraries in Github.
What this means is that all examples before Tutorial 71 will work but the icons and fonts wont display well without referencing the library files. At most you need Roboto + Material Design icons. The rest are just for play.

So ensure that you have referenced the font resources. These are the libraries referenced by Tutorial 71.



So copy these to your b4j external resources folder.

2. The animation library is still work in progress so we are not talking about it as yet. So far all the tests are impressive. So dont use in production as yet until we provide more details. You will have to learn some animejs to get the drift.

Enjoy!

Reference
 
Last edited:

Mashiane

Expert
Licensed User
Longtime User
A thread has been created for all your animation needs.


Have fun!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…