Vue.filter(name, function(value){}); //BasicVue.filter(name, function(value, begin, end){}); //Basic with wrapping valuesVue.filter(name, function(value, input){}); //DynamicVue.filter(name, { read: function(value){}, write: function(value){} }); //Two-way| Parameter | Details |
|---|---|
| name | String - desired callable name of the filter |
| value | [Callback] Any - value of the data passing into the filter |
| begin | [Callback] Any - value to come before the passed data |
| end | [Callback] Any - value to come after the passed data |
| input | [Callback] Any - user input bound to Vue instance for dynamic results |