Topic: unable to use swicth square for Angular

iakin pro asked 5 years ago


Hello, I'm trying to use the square switch by adding "square" in the class but I only get the classic version. I am in version ng-uikit-pro-standard@6.1.4 <div class="switch square"> <label> check me <inputtype="checkbox"> <spanclass="lever"></span> </label> </div> Did I miss something ? Regards, iakin

Damian Gemza staff commented 5 years ago

Dear iakin, Yes, you're missing the CSS part of a square switch. In Switch documentation, there's part for HTML code and for CSS code. Please copy the HTML markup code and CSS styles code from this link: https://mdbootstrap.com/angular/forms/switch/#shapes Best Regards, Damian


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags