steps.d.ts 853 B

12345678910111213141516171819202122232425262728
  1. import { ElementUIComponent } from './component'
  2. import { StepStatus } from './step'
  3. export type StepsDirection = 'vertical' | 'horizontal'
  4. /** Guide the user to complete tasks in accordance with the process. Its steps can be set according to the actual application scenario and the number of the steps can't be less than 2. */
  5. export declare class ElSteps extends ElementUIComponent {
  6. /** The spacing of each step, will be responsive if omitted. Support percentage. */
  7. space: number | string
  8. /** Display direction */
  9. direction: StepsDirection
  10. /** Current activation step */
  11. active: number
  12. /** Status of current step */
  13. processStatus: StepStatus
  14. /** Status of end step */
  15. finishStatus: StepStatus
  16. /** Whether step description is centered */
  17. alignCenter: boolean
  18. /** Whether to apply simple theme */
  19. simple: boolean
  20. }