Blame view

node_modules/bootstrap-vue/src/components/form-input/package.json 4.66 KB
4cd4fd28   郭伟龙   feat: 初始化项目
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
  "name": "@bootstrap-vue/form-input",
  "version": "1.1.0",
  "meta": {
    "title": "Form Input",
    "description": "Create various type inputs such as: text, password, number, url, email, search, range, date and more.",
    "components": [
      {
        "component": "BFormInput",
        "aliases": [
          "BInput"
        ],
        "props": [
          {
            "prop": "ariaInvalid",
            "description": "Sets the 'aria-invalid' attribute with the specified value"
          },
          {
            "prop": "debounce",
            "version": "2.1.0",
            "description": "When set to a number of milliseconds greater than zero, will debounce the user input. Has no effect if prop 'lazy' is set"
          },
          {
            "prop": "formatter",
            "description": "Reference to a function for formatting the input"
          },
          {
            "prop": "lazy",
            "version": "2.1.0",
            "description": "When set, updates the v-model on 'change'/'blur' events instead of 'input'. Emulates the Vue '.lazy' v-model modifier"
          },
          {
            "prop": "lazyFormatter",
            "description": "When set, the input is formatted on blur instead of each keystroke (if there is a formatter specified)"
          },
          {
            "prop": "list",
            "description": "The ID of the associated datalist element or component"
          },
          {
            "prop": "max",
            "description": "Value to set in the 'max' attribute on the input. Used by number-like inputs"
          },
          {
            "prop": "min",
            "description": "Value to set in the 'min' attribute on the input. Used by number-like inputs"
          },
          {
            "prop": "noWheel",
            "description": "For number-like inputs, disables the mouse wheel from incrementing or decrementing the value"
          },
          {
            "prop": "number",
            "description": "When set attempts to convert the input value to a native number. Emulates the Vue '.number' v-model modifier"
          },
          {
            "prop": "size",
            "description": "Set the size of the component's appearance. 'sm', 'md' (default), or 'lg'"
          },
          {
            "prop": "step",
            "description": "Value to set in the 'step' attribute on the input. Used by number-like inputs"
          },
          {
            "prop": "trim",
            "description": "When set, trims any leading and trailing white space from the input value. Emulates the Vue '.trim' v-model modifier"
          },
          {
            "prop": "type",
            "description": "The type of input to render. See the docs for supported types"
          },
          {
            "prop": "value",
            "description": "The current value of the input. Result will always be a string, except when the `number` prop is used"
          }
        ],
        "events": [
          {
            "event": "blur",
            "description": "Emitted after the input loses focus",
            "args": [
              {
                "arg": "event",
                "type": "FocusEvent",
                "description": "Native blur event (before any formatting)"
              }
            ]
          },
          {
            "event": "change",
            "description": "Change event triggered by user interaction. Emitted after any formatting (not including 'trim' or 'number' props) and after the v-model is updated",
            "args": [
              {
                "arg": "value",
                "type": [
                  "String",
                  "Number"
                ],
                "description": "Current value of input"
              }
            ]
          },
          {
            "event": "input",
            "description": "Input event triggered by user interaction. Emitted after any formatting (not including 'trim' or 'number' props) and after the v-model is updated",
            "args": [
              {
                "arg": "value",
                "type": [
                  "String",
                  "Number"
                ],
                "description": "Current value of input"
              }
            ]
          },
          {
            "event": "update",
            "description": "Emitted to update the v-model",
            "args": [
              {
                "arg": "value",
                "type": [
                  "String",
                  "Number"
                ],
                "description": "Value of input, after any formatting. Not emitted if the value does not change"
              }
            ]
          }
        ]
      }
    ]
  }
}