- edited description
missing support for Flow Support component
Issue #2137
resolved
Hi Scott, pls add support for ‘lightning/flowSupport’ module.
https://developer.salesforce.com/docs/component-library/bundle/lightning-flow-support/documentation
The hover message states that the module is not installed.
Comments (3)
-
reporter -
repo owner Thanks for bringing this to my attention. I've implemented the module interface as follows based on the linked documentation:
/** * The lightning/flowSupport module provides events that enable a component to control flow navigation and * notify the flow of changes in attribute values. The events are supported only in components where the * target is lightning__FlowScreen. * * https://developer.salesforce.com/docs/component-library/bundle/lightning-flow-support/documentation */ declare module 'lightning/flowSupport' { /** Informs the runtime that a component property has changed. */ export class FlowAttributeChangeEvent extends Event { /** * Creates a Flow attribute change event for the named property with the provided value. * * @param propertyName the property name * @param propertyValue the property value */ constructor(propertyName: string, propertyValue: any); } /** Requests navigation to the previous screen. */ export class FlowNavigationBackEvent extends Event { constructor(); } /** Requests navigation to the next screen. */ export class FlowNavigationNextEvent extends Event { constructor(); } /** Requests the flow runtime to pause the flow. */ export class FlowNavigationPauseEvent extends Event { constructor(); } /** Requests the flow runtime to terminate the flow. */ export class FlowNavigationFinishEvent extends Event { constructor(); } }
Please let me know if I've missed anything. This will be included in the next build.
-
repo owner - changed status to resolved
Delivered in 2.2.2.7.
- Log in to comment