Questions tagged [ion-toggle]
23 questions
12
votes
1 answer
how to handle click function on ion-toggle
here is my .html file
Notification
the above code works when i click on the Notification text but when i…

Mohan Gopi
- 7,606
- 17
- 66
- 117
6
votes
1 answer
How to customize the text on ion-toggle in ionic2
am looking to customize the ion-toggle, to show custom text. I need it to say Yes/No. Tried looking for solutions and found that we can use ion-toggle-text. But that solution does not seem to work in ionic2. Below is the code snippet am using. Tried…

csharpnewbie
- 789
- 2
- 12
- 33
5
votes
3 answers
Set default toggle to be checked in ion-toggle
Below is the code to list toggle buttons in which I want to set the first toggle button to be on and the rest off..

forgottofly
- 2,729
- 11
- 51
- 93
3
votes
0 answers
Text inside toggle in ionic 2
I want to add text inside the Toggle in ionic 2. A solution is available in the web for Ionic v1 but nothing for v2. Any help.
Test

Tapas Mukherjee
- 2,088
- 1
- 27
- 66
3
votes
4 answers
Ionic : how to deeply customize ion-toggle?
Within Ionic, I am trying to customize but I face an issue of toggle selection in css.
I have 2 and when I design them in css they are both customized : that's correct. Issue coming if I want give both different custom !
I…

jlbd
- 41
- 1
- 3
2
votes
2 answers
Enable tap or click events for toggle buttons in ionic in Accessibility
I am working on a mobile application that has a list of items, each of which contain toggle buttons. When the Accessibility (Voice over) mode is turned on, the focus on these list items is enabled but double-tapping the item does not turn ON/OFF the…

user591410
- 3,051
- 5
- 21
- 30
1
vote
0 answers
On hitting toggle button new page opens. How to avoid it?
I want to achieve below two functionalities :
toggle button ON/OFF. (Not want new details page to be open here)
clicking on CardView new details page should open.
On clicking cardView new details page opens, this working as expected.
but,…

Pritesh Bhate
- 43
- 5
1
vote
4 answers
Click on ion-label to toggle the ion-toggle
I am creating a page with ionic 5.
I am making a 'remember me' button with use of .
remember me
The Ion-toggle is working fine, but I can't…

Pritesh
- 1,066
- 3
- 15
- 35
1
vote
2 answers
Ion-toggle button does not show correct toggle - Ionic 3, Angular 4
I have my ion-toggle defined and I have set 2 properties to it as below:
everything is working just fine, I am able to toggle and change values to the localStorage and…

Murlidhar Fichadia
- 2,589
- 6
- 43
- 93
1
vote
3 answers
how to remove a css class dynamically in ionic
i'm using in my ionic project a ion-toggle, when i open the app in the browser the ion-toggle's html generated is:
user7035864
1
vote
1 answer
how to remove border around ion-toggle
i want to remove the border around the ionic-toggle
Swipe div
user7035864
1
vote
2 answers
Saving and retrieving checkbox value from local storage in angularjs
I have some problem, in my Ionic app use toggle to switch on/off function. By default toggle is true, when toggle change it switch to false.
Toggle
All work fine…

KingStakh
- 303
- 3
- 13
1
vote
0 answers
ion-toggle button tappable over mask
Ionic Version: 1.x
Platform: all
ion-toggle button is clickable even after a popup is on
http://codepen.io/ankitaurfrnd/pen/JKJprp
Sample toggle Button
$ionicPopup.alert({
title: 'Don\'t eat that!',
template: 'It…

silver1991
- 1,597
- 1
- 9
- 6
1
vote
1 answer
IONIC ion-toggle windows phone 8.1 & 10
Developing with Ionic has been a fun ride!
Now that windows phone 8.1 is officially supported I wanted to give it a try.
So far so good, the only problem I had was when clicking a toggle it will act as if it was pressed twice.
If the toggle is OFF…

Tigrito
- 43
- 7
0
votes
0 answers
Is there a way to prevent ion-toggle from user toggling without page reloading in ionic 5?
address.page.html
defaultStatus is fetched from the firestore and if the defaultStatus is true, we won't let the user to switch the toggle off. In address.page.ts…

orcaenlhw
- 1,143
- 2
- 7
- 8