components icon indicating copy to clipboard operation
components copied to clipboard

slider-toggle is not appearing properly

Open Rajasree37 opened this issue 9 years ago • 5 comments

Hi

check box is appearing along with slider-toggel .i followed this link https://material.angular.io/guide/getting-started for angular material installation and usage purpose. but it resuls.....slider toggel as shown in below image. ngmaterialui

what I have to do...? suggest me..

Thanks In Advance

Rajasree37 avatar Jun 30 '17 09:06 Rajasree37

You are missing a theme for your application. Read more about theming here

devversion avatar Jun 30 '17 10:06 devversion

Thanks @DevVersion , but added this link link_themes in index.html file. Still it gives same result.

Thanks Rajasree

Rajasree37 avatar Jul 01 '17 06:07 Rajasree37

@Rajasree37 If you used Angular CLI, please try to insert the link to css file by using the file in the root directory of your project named .angular.cli.json and under the style you should have something like this:

 "styles": [
      "../node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
   ...
   ]

m98 avatar Jul 01 '17 06:07 m98

Thank you so much m98 it works

Rajasree37 avatar Jul 03 '17 11:07 Rajasree37

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.