diff --git a/docs/reference/targets.md b/docs/reference/targets.md index 93151000..b2fe5bed 100644 --- a/docs/reference/targets.md +++ b/docs/reference/targets.md @@ -121,4 +121,15 @@ with a matching name, the corresponding callback _will not_ be invoked again. ## Naming Conventions -Always use camelCase to specify target names, since they map directly to properties on your controller. +Always use camelCase to specify target names, since they map directly to properties on your controller: + +```html + + +``` + +```js +export default class extends Controller { + static targets = [ "camelCase" ] +} +```