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
Copy file name to clipboardExpand all lines: src/components/Stepper/sgds-stepper.ts
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,8 @@ export type { IStepMetaData };
17
17
* @event sgds-next-step - Emitted right before the next step is reached. Event is fired when nextStep method is called.
18
18
* @event sgds-previous-step - Emitted right before the previous step is reached. Event is fired when previousStep method is called.
19
19
* @event sgds-last-step - Emitted right before the last step is reached. Event is fired when lastStep method is called.
20
-
* @event sgds-first-step - Emitted on hide after animation has completed. Event is fired when firstStep method is called.
21
-
* @event sgds-arrived - Emitted right after the activeStep has updated its state, when upcoming step has arrived. Call `getMethod()` on this event to get the current step's component.
20
+
* @event sgds-first-step - Emitted right before the first step is reached. Event is fired when firstStep method is called.
21
+
* @event sgds-arrived - Emitted right after the activeStep has updated its state, when upcoming step has arrived. Call `getComponent()` on the stepper to get the current step's component.
22
22
* @event sgds-reset - Emitted right before the step is reset to its defaultActiveStep. Event is fired when reset method is called.
23
23
* @slot default - slot for sgds-step children
24
24
*
@@ -62,7 +62,7 @@ export class SgdsStepper extends SgdsElement {
62
62
63
63
/**
64
64
* Indicates the presence of the default slot.
65
-
* Used for server-side rendering to determine table structure.
65
+
* Used to switch between slotted sgds-step children and the legacy steps property.
66
66
* @type {boolean}
67
67
* @internal
68
68
* @default false
@@ -109,10 +109,9 @@ export class SgdsStepper extends SgdsElement {
109
109
}
110
110
}
111
111
112
-
/** By default, it returns the corresponding component of the current activeStep as defined in the steps metadata. To get other components, pass in your desired step number as the parameter*/
112
+
/** Returns the component associated with the given step index. Defaults to the current activeStep if no argument is provided. */
0 commit comments