Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

vue js default props

props: {
  year: {
    default: 2016,
    type: Number
  }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #vue #js #default #props
ADD COMMENT
Topic
Name
9+7 =