Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

querySelector a slot vuejs

Vue.component('wrapper', {
  name: 'Wrapper',
  template: `<div><slot></slot></div>`,
  mounted () {
    console.log(this.$slots);
  }
});
 
PREVIOUS NEXT
Tagged: #querySelector #slot #vuejs
ADD COMMENT
Topic
Name
9+6 =