8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1832316 commit be6d18fCopy full SHA for be6d18f
packages/docs/build/templates/events.js
@@ -24,7 +24,7 @@ const tmpl = (events) => {
24
events.forEach(evt => {
25
const { description = '', ...e } = evt
26
const readableProperties = e.properties ? `${formatProperties(e.properties)}` : ''
27
- ret += `| **${mdclean(e.name.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)
+ ret += `| **${e.name.includes('update:') ? mdclean(e.name) : mdclean(e.name.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)
28
.map(x => x.toLowerCase())
29
.join('-'))}** | ${mdclean(description)}| ${mdclean(readableProperties)}\n`
30
})
0 commit comments