-
-
Couldn't load subscription status.
- Fork 410
Closed
Labels
Description
Thanks for your git,it’s very helpful to me.
I write comment like this. the docgen api parse to this.
I would like to learn about this is youer design? or is not noticed thing?
I'm hesitant to format the result of docgen api.
/**
* Success event.
* @property {string} content content of the first prop passed to the event
* @property {string} content.text content of the first prop passed to the event
*/
this.$emit('success', content, {
demo: 'example'
}){
"name":"on-click",
"description":"点击事件",
"type":{
"names":[
"undefined"
]
},
"properties":[
{
"type":{
"names":[
"object"
]
},
"name":"defaults",
"description":"The default values for parties."
},
{
"type":{
"names":[
"number"
]
},
"name":"defaults",
"description":".players - The default number of players."
},
{
"type":{
"names":[
"string"
]
},
"name":"defaults",
"description":".level - The default level for the party."
},
{
"type":{
"names":[
"object"
]
},
"name":"defaults",
"description":".treasure - The default treasure."
},
{
"type":{
"names":[
"number"
]
},
"name":"defaults",
"description":".treasure.gold - How much gold the party starts with."
}
]
}