How to get a custom icon in a back button?

后端 未结 4 714
夕颜
夕颜 2021-02-06 09:07

I have following code:


    
4条回答
  •  情深已故
    2021-02-06 09:55

    Just do it! :)

    
    
    

    Use the class="" attribute to set your custom icon.. In this case, i have used the ion-chevron-left (to be like your example)..!

    But if you want to change the default text too.. you can do it different:

    
        Back Text
    
    

    Ref: http://ionicframework.com/docs/api/directive/ionNavBackButton/

提交回复
热议问题