fix(toggle): add and document custom properties

references #14850
This commit is contained in:
Cam Wiegert
2018-08-08 11:50:30 -05:00
parent 9beca986f7
commit 773c2c2274
6 changed files with 57 additions and 16 deletions

View File

@@ -23,9 +23,17 @@
<ion-toggle checked color="light"></ion-toggle>
<ion-toggle checked color="medium"></ion-toggle>
<ion-toggle checked color="dark"></ion-toggle>
<ion-toggle checked class="custom"></ion-toggle>
<!-- Disabled -->
<ion-toggle checked disabled></ion-toggle>
<ion-toggle checked disabled color="secondary"></ion-toggle>
<style>
.custom {
--background-checked: papayawhip;
--handle-background-checked: purple;
}
</style>
</body>
</html>