You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: support for multiple handlers in a single feature
Different handlers are disambiguated with an optional argument to
`FeatureBuilder.withHandlerProp` method.
BREAKING CHANGE: renamed `FeatureBuilder.withHandlerEventProp` to
`withHandlerProp` to prepare for bilateral communication.
Copy file name to clipboardExpand all lines: apps/website/docs/implementing-features.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ Below is a recap of all the symbols present in this snippet:
79
79
It is also worth noting that:
80
80
81
81
-`linkPressScript` is imported as a string thanks to babel-plugin-inline-import, see the [tooling guide](./tooling);
82
-
- invoking `withEventHandlerProp` is not an option:
82
+
- invoking `withHandlerProp` is not an option:
83
83
1. It register the handler to the shell, otherwise events fired by the below Web script will not be routed to their handler props.
84
84
2. When implemented in typescript, type generation will add the handler name and payload type to the the feature, which will be grabbed by the resulting shell type.
0 commit comments