We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to use multiple ionic icons in my application, but only the simple ones are working for example: exit, calendar, add. If I try
it is not working.
Here are some examples:
html <ion-footer> <ion-list> <ion-menu-toggle menu="m1"> <ion-item lines="none" (click)="onLogout()" button> <ion-icon name="exit" slot="start"></ion-icon> <ion-label>Salir</ion-label> </ion-item> </ion-menu-toggle> </ion-list> </ion-footer>
<ion-footer> <ion-list> <ion-menu-toggle menu="m1"> <ion-item lines="none" (click)="onLogout()" button> <ion-icon name="exit" slot="start"></ion-icon> <ion-label>Salir</ion-label> </ion-item> </ion-menu-toggle> </ion-list> </ion-footer>
ts
import { ellipsisVerticalOutline, exit } from "ionicons/icons"; import { addIcons } from "ionicons"; export class AppComponent implements OnInit, OnDestroy { ... constructor( private platform: Platform, //rivate splashScreen: SplashScreen, //private statusBar: StatusBar, private authService: AuthService, private locationService: LocationService, private router: Router, private menuCtrl: MenuController, private alertCtrl: AlertController, //private messagingService: MessagingService, // private translateService: TranslateService ) { this.initializeApp(); addIcons({exit,ellipsisVerticalOutline}); }
}
If I change html for: <ion-footer> <ion-list> <ion-menu-toggle menu="m1"> <ion-item lines="none" (click)="onLogout()" button> <ion-icon name="ellipsis-vertical-outline"></ion-icon> <ion-label>Salir</ion-label> </ion-item> </ion-menu-toggle> </ion-list> </ion-footer>
<ion-footer> <ion-list> <ion-menu-toggle menu="m1"> <ion-item lines="none" (click)="onLogout()" button> <ion-icon name="ellipsis-vertical-outline"></ion-icon> <ion-label>Salir</ion-label> </ion-item> </ion-menu-toggle> </ion-list> </ion-footer>
Not Working.
That the icon I'm using shows
Use some basic icons with no composed names like exit, calendar Then use some icons like
No response
The text was updated successfully, but these errors were encountered:
Do you have a runnable sample that can be used to reproduce the issue? Also make sure you are using the latest version of Ionicons.
Sorry, something went wrong.
No branches or pull requests
Current Behavior
I'm trying to use multiple ionic icons in my application, but only the simple ones are working for example: exit, calendar, add. If I try
it is not working.
Here are some examples:
html
<ion-footer> <ion-list> <ion-menu-toggle menu="m1"> <ion-item lines="none" (click)="onLogout()" button> <ion-icon name="exit" slot="start"></ion-icon> <ion-label>Salir</ion-label> </ion-item> </ion-menu-toggle> </ion-list> </ion-footer>
ts
import { ellipsisVerticalOutline, exit } from "ionicons/icons";
import { addIcons } from "ionicons";
export class AppComponent implements OnInit, OnDestroy {
...
constructor(
private platform: Platform,
//rivate splashScreen: SplashScreen,
//private statusBar: StatusBar,
private authService: AuthService,
private locationService: LocationService,
private router: Router,
private menuCtrl: MenuController,
private alertCtrl: AlertController,
//private messagingService: MessagingService,
// private translateService: TranslateService
) {
this.initializeApp();
addIcons({exit,ellipsisVerticalOutline});
}
}
If I change html for:
<ion-footer> <ion-list> <ion-menu-toggle menu="m1"> <ion-item lines="none" (click)="onLogout()" button> <ion-icon name="ellipsis-vertical-outline"></ion-icon> <ion-label>Salir</ion-label> </ion-item> </ion-menu-toggle> </ion-list> </ion-footer>
Not Working.
Expected Behavior
That the icon I'm using shows
Steps to Reproduce
Use some basic icons with no composed names like exit, calendar
Then use some icons like
Code Reproduction URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: