github / github/catalyst

Allow definition of targets in kebab-case but access via camelCase

Abierto
#187 2 comentarios 1 reacción 0 asignados Ver en GitHub
@attr
Lenguaje dominante
TypeScript
Estrellas
1.4k
Forks
59
Merge medio
22 h 12 min
PR fusionados (30 d)
5

Descripción

For attributes, I define in the markup `data-my-attr-name` and in the controller as `@attr myAttrName`

For targets however, I have to define the target name in both the markup and the controller using camelCase:
`data-targets="my-controller.myTargetsName"` and `@targets myTargetsName`
I think it would be nice (more consistent?) if the markup could support kebab-case.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.