A Vue.js project
<myvue-component hello="Hello world!!!" @click="clicked">
</myvue-component>
methods: {
clicked (helloText) {
console.log(helloText)
}
}
Prop name | Description | Type | Required | Default value |
---|---|---|---|---|
hello |
set hello text | String |
no | '' |
Event name | Description | Parameters |
---|---|---|
click |
fire when hello text is clicked | helloText: String
|
Slot name | Description | Accepted Element |
---|---|---|
default |
slot without name are placed in default | any |
See CONTRIBUTING.md for development guide.
This component was generated with vue-authoring-template using vue-cli.