Skip to content

Commit 8d12ea8

Browse files
FedeAbellawjhsf
andauthored
feat: Create lightning/flowSupport stub (#477)
* feat: add flowSupport stub This adds a missing stub for lightning/flowSupport. Tackes #448 * Apply suggestion from @wjhsf --------- Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com>
1 parent 321ffc1 commit 8d12ea8

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
* Copyright (c) 2025, salesforce.com, inc.
3+
* All rights reserved.
4+
* SPDX-License-Identifier: MIT
5+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6+
*/
7+
export const FlowAttributeChangeEventName = 'lightning__flowattributechange';
8+
export const FlowNavigationBackEventName = 'lightning__flownavigationback';
9+
export const FlowNavigationNextEventName = 'lightning__flownavigationnext';
10+
export const FlowNavigationPauseEventName = 'lightning__flownavigationpause';
11+
export const FlowNavigationFinishEventName = 'lightning__flownavigationfinish';
12+
13+
export class FlowAttributeChangeEvent extends CustomEvent {
14+
constructor() {
15+
super(FlowAttributeChangeEventName, { bubbles: true, composed: true });
16+
}
17+
}
18+
19+
export class FlowNavigationBackEvent extends CustomEvent {
20+
constructor() {
21+
super(FlowNavigationBackEventName, { bubbles: true, composed: true });
22+
}
23+
}
24+
25+
export class FlowNavigationNextEvent extends CustomEvent {
26+
constructor() {
27+
super(FlowNavigationNextEventName, { bubbles: true, composed: true });
28+
}
29+
}
30+
31+
export class FlowNavigationPauseEvent extends CustomEvent {
32+
constructor() {
33+
super(FlowNavigationPauseEventName, { bubbles: true, composed: true });
34+
}
35+
}
36+
37+
export class FlowNavigationFinishEvent extends CustomEvent {
38+
constructor() {
39+
super(FlowNavigationFinishEventName, { bubbles: true, composed: true });
40+
}
41+
}

0 commit comments

Comments
 (0)