Click here to Skip to main content
15,845,055 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
i have this page that has two buttons divided By two clo-md-6 : i want when i click in the button the first button become col-md-9 and the other col-md-3 and the same for the inverse

What I have tried:

i don t know how to do it in angular
Updated 15-Jun-21 15:24pm
Sandeep Mewara 20-Aug-20 14:31pm    
you want to swap the data or the width of the column?
Member 13926859 20-Aug-20 15:07pm

i want when i click the first button the div class become col-md-9 and the second col-md-3

1 solution

I am pretty sure it's easy to dynamically set the CSS class in angular
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900