Home | History | Annotate | Download | only in paper-progress
      1 
      2   
      3     Polymer('paper-progress', {
      4       
      5       /**
      6        * The number that represents the current secondary progress.
      7        *
      8        * @attribute secondaryProgress
      9        * @type number
     10        * @default 0
     11        */
     12       secondaryProgress: 0,
     13       
     14       step: 0,
     15       
     16       observe: {
     17         'value secondaryProgress min max': 'update'
     18       },
     19       
     20       update: function() {
     21         this.super();
     22         this.secondaryProgress = this.clampValue(this.secondaryProgress);
     23         this.secondaryRatio = this.calcRatio(this.secondaryProgress) * 100;
     24       }
     25       
     26     });
     27     
     28