filters

{ filters : { myFilter : v => v } }

Allows you to replace filters with stubbed values. If set to true, the filter will just return the original value.

vuenit.component(c, {
  filters : {
    myFilter(v){
      return v.split('').reverse().join('');
    },
    bypassThisFilter : true
  }
});
vuenit.component(c, ['myFilter', 'dateFilter']); // will stub both filters

results matching ""

    No results matching ""