Answers for "vue filter()"

0

vue filter()

filters: {
  capitalize: function (value) {
    if (!value) return ''
    value = value.toString()
    return value.charAt(0).toUpperCase() + value.slice(1)
  }
}
Posted by: Guest on February-03-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language