ion-slide-box-tabs icon indicating copy to clipboard operation
ion-slide-box-tabs copied to clipboard

dynamic ion-slide-tab-label

Open didlich opened this issue 9 years ago • 2 comments

is it possible to use the ion-slide-tab-label with something like this:

<ion-slide ion-slide-tab-label="Attachments ({{attachments.length}})">

the scope variable attachments is initially '0' after an request it changes i.e. to '5' for now '0' remains in the tab, but the attachments array changes

didlich avatar Sep 30 '15 10:09 didlich

Hi, In my fork I create a different ion-slide-tab-label directive with HTML and AngularJS variable usable. I submit a pull request: https://github.com/lcaprini/ion-slide-box-tabs

lcaprini avatar Aug 02 '16 14:08 lcaprini

@lcaprini @didlich it still doesn't work for me :( I have some tab with count of items (it's changed dynamically in my service) While when count updated in my view it doesn't update in tab (only after reload controller .. tab show correct count :/)

berlog avatar May 06 '17 10:05 berlog