I'm quite well versed in the web development area, and I have recently picked up semantic UI. However, I'm having a hard time understanding the documentation, finding it fragmented and not descriptive enough.
1. You're first off greeted with an example, with the opening line being:
<div class="ui left vertical inverted labeled icon sidebar menu">
So 8 separate classes, removing one breaks the look of the "icon style vertical menu". There is no description of what these are for, or effect.
Throughout the entire sidebar docs, there's no further explanation of these (or any that are not in that example?).
2. Usage
It's not only until I go onto the 3rd tab I realise I need to wrap my page within the "pusher" class, and have the sidebar separate. Surely this should be the first thing a user should read?
3. Examples work well, but how are they achieved?
Back on the definition page, there is some example transitions. These work well, and show off the sidebar well. For example, the overlay animation... What do I set, and where do I set it to get this effect over the standard "push/uncover" content? There's nothing in the classes above to suggest this.
I eventually got it working by adding the following:
.sidebar({
overlay: true
})
However, the console then tells me "Sidebar: The overlay setting is no longer supported, use animation: overlay". Where do I set this (granted, there is a overall lack of Semantic UI knowledge)?
4. How do I set the settings?
There's plenty of settings I can choose from, such as scrollLock, but I can still not work out where to set this?
.sidebar('scrollLock', true)
.sidebar({scrollLock, true})
None of these seem to work... can't think where else I would set this?
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is not supposed to be a rant, and I am new to Semantic UI, but I'm having a hard time trying to follow the documentation to do basic things... not only with the sidebar!