diff --git a/docs/reference/actions.md b/docs/reference/actions.md index 6aa43db3..b76e4d63 100644 --- a/docs/reference/actions.md +++ b/docs/reference/actions.md @@ -106,12 +106,25 @@ import { Application, defaultSchema } from "@hotwired/stimulus" const customSchema = { ...defaultSchema, - keyMappings: { ...defaultSchema.keyMappings, at: "@" }, + keyMappings: { + ...defaultSchema.keyMappings, + at: "@", + slash: "/", + question: "?" + }, } const app = Application.start(document.documentElement, customSchema) ``` +Then use them in your action descriptors: + +```html +