From 1f79d3ef56c92c9bccfae55131062aea01a342eb Mon Sep 17 00:00:00 2001 From: Steve Tyler Date: Fri, 16 Oct 2020 14:08:29 +0100 Subject: [PATCH] [DOC canary] added on modifier example for the input component in the API docs --- .../@ember/-internals/glimmer/lib/components/input.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/@ember/-internals/glimmer/lib/components/input.ts b/packages/@ember/-internals/glimmer/lib/components/input.ts index bb0a64628a7..d5a0f9aeeb5 100644 --- a/packages/@ember/-internals/glimmer/lib/components/input.ts +++ b/packages/@ember/-internals/glimmer/lib/components/input.ts @@ -38,7 +38,13 @@ import InternalComponent from './internal'; ### Actions - The `Input` component takes a number of arguments with callbacks that are invoked in response to + There are multiple ways to pass actions to the input component. Starting with Ember Octane, we recommend using the `{{on}}` modifier to call an action on specific events such as the input event. + + ```handlebars + + ``` + + The `Input` component also takes a number of arguments with callbacks that are invoked in response to user events. * `enter`