Enable checkbox with a button

How to enable a checkbox when a button is clicked?

I have an Edit button and a list of colors in a page. When Edit button is clicked, checkboxes should show up beside the list of colors.


Done you a quick repo showing how to do it.

git clone https://github.com/judgewest2000/IonicToggleExample
cd IonicToggleExample
npm i
ionic serve

@Judgewest2000 Thank you, the repo you shared is blank though


If you check now you should see something.