Hey there, I'm a beginner when it comes to using Ionic 2 and I have some doubts about the code in my .html file within my (page).
<ion-content padding class="getting-started"> //Question 1
<h3>Hello World!</h3>
<p>
My learning login page
</p>
<p>
<button primary menuToggle>Toggle Menu</button> //Question 2
</p>
</ion-content>
So here's my questions:
Question 1)
What does --> padding class="getting-started" <--- mean exactly?
If it was written as --> class="getting-started" <--- I would assume it refers to a class in the css file.
Question 2)
What purpose does --> primary menuToggle <-- serve?
I am not sure if menuToggle is a built-in function or why 'primary' comes before it.
If it is a function, where is it being directed to?
UPDATE*
I have realized that all CSS need to be linked through /app/theme/app.core.scss for it to work properly.
Thanks!