What are views?
Views are different versions of a component which can appear at different times. An image component, for example, might have 3 views. Each view would be a different picture. In the same way, a text component with several views would have different text in each view. Adding views is a bit like layering up the content, like stacking cards on top of each other.
How do I add a view?
To add a view to your component, first make sure you have selected 'advanced' in the drop down options at the top of the settings bar, then click '+ add new view' and then you are free to add your content for this new view.
Here is an example of an image with three different views. You can see each view has a different image file and a different 'view name' to avoid confusion later.
When would I use different views?
You might want your learner to see different views when they interact with your course. For example, you may want them to click through various different images...
..Or you might want to show a different message (e.g. 'correct!') based on the user's behaviour...
Making the views interactive
Simply adding the views alone won't help your learner interact with them. You need to also add the actions. You might want to add the action to the component itself (e.g. when someone clicks the image, it switches to a new image) or you might add the action to a different component and link it (e.g. when someone clicks buttton 1 the image changes).
For the next lesson on how to use ACTIONS - take a look at this article.
Showing same content in all views
In the Component Settings there is a tick box for 'show same content in all views'.
This is helpful for if you need to copy the content from one view to another without typing it all out again. If you tick this, then add your views, you are then free to un-tick it and adjust your views individually.