保誠-保戶業務員媒合平台
tomasysh
2025-01-02 4efb98f2b554b76270b12837db7a7f724e2ede89
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import { ElementUIComponent } from './component'
 
/** Switch Component */
export declare class ElSwitch extends ElementUIComponent {
  /** Whether Switch is on */
  value: boolean
 
  /** Whether Switch is disabled */
  disabled: boolean
 
  /** Width of Switch */
  width: number
 
  /** Class name of the icon displayed when in on state, overrides on-text */
  activeIconClass: string
 
  /** Class name of the icon displayed when in off state, overrides off-text */
  inactiveIconClass: string
 
  /** Text displayed when in on state */
  activeText: string
 
  /** Text displayed when in off state */
  inactiveText: string
 
  /** Background color when in on state */
  activeColor: string
 
  /** Background color when in off state */
  inactiveColor: string
 
  /** Switch value when in on state */
  activeValue: string | boolean | number
 
  /** Switch value when in off state */
  inactiveValue: string | boolean | number
 
  /** Input name of Switch */
  name: string
 
  /** Whether to trigger form validation */
  validateEvent: boolean
}