github / github/catalyst

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

オープン
#187 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
@attr
主要言語
TypeScript
スター
1.4k
フォーク
59
平均マージ
22時間 12分
マージ済み PR(30日)
5

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。