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
{{ message }}
This repository was archived by the owner on Mar 8, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+46-55Lines changed: 46 additions & 55 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,6 @@ export default {
71
71
/**
72
72
* object/array defaults should be returned from a factory function
73
73
* @version1.0.5
74
-
* @ignore
75
74
* @since Version 1.0.1
76
75
* @seeSee [Wikipedia](https://en.wikipedia.org/wiki/Web_colors#HTML_color_names) for a list of color names
77
76
* @link See [Wikipedia](https://en.wikipedia.org/wiki/Web_colors#HTML_color_names) for a list of color names
@@ -82,6 +81,7 @@ export default {
82
81
},
83
82
/**
84
83
* describe data
84
+
* @version1.0.5
85
85
*/
86
86
data: [Array],
87
87
/**
@@ -90,6 +90,7 @@ export default {
90
90
columns: [Array],
91
91
/**
92
92
* filter key
93
+
* @ignore
93
94
*/
94
95
filterKey: {
95
96
type:String,
@@ -137,20 +138,22 @@ export default {
137
138
methods: {
138
139
139
140
/**
140
-
* Sets the order
141
-
*
142
-
* @public
143
-
* @version1.0.5
144
-
* @since Version 1.0.1
145
-
* @param{string}key Key to order
146
-
* @returns{string} Test
147
-
*/
141
+
* Sets the order
142
+
*
143
+
* @public
144
+
* @version1.0.5
145
+
* @since Version 1.0.1
146
+
* @param{string}key Key to order
147
+
* @returns{string} Test
148
+
*/
148
149
sortBy:function (key) {
149
150
this.sortKey= key
150
151
this.sortOrders[key] =this.sortOrders[key] *-1
151
152
},
152
153
153
-
hiddenMethod:function(){}
154
+
hiddenMethod:function(){
155
+
156
+
}
154
157
}
155
158
}
156
159
</script>
@@ -170,7 +173,7 @@ we are getting this output:
170
173
"methods": [
171
174
{
172
175
"name": "sortBy",
173
-
"comment": "/**\n\t* Sets the order\n\t*\n\t* @public\n\t* @version 1.0.5\n\t* @since Version 1.0.1\n\t* @param {string} key Key to order\n\t* @returns {string} Test\n\t */",
176
+
"comment": "/**\n* Sets the order\n*\n* @public\n* @version 1.0.5\n* @since Version 1.0.1\n* @param {string} key Key to order\n* @returns {string} Test\n */",
174
177
"modifiers": [],
175
178
"params": [
176
179
{
@@ -195,24 +198,6 @@ we are getting this output:
195
198
"description": "public"
196
199
}
197
200
],
198
-
"description": [
199
-
{
200
-
"title": "description",
201
-
"description": "Sets the order"
202
-
}
203
-
],
204
-
"kind": [
205
-
{
206
-
"title": "kind",
207
-
"description": "function"
208
-
}
209
-
],
210
-
"name": [
211
-
{
212
-
"title": "name",
213
-
"description": "sortBy"
214
-
}
215
-
],
216
201
"params": [
217
202
{
218
203
"title": "param",
@@ -251,37 +236,55 @@ we are getting this output:
251
236
],
252
237
"displayName": "Grid",
253
238
"props": {
254
-
"filterKey": {
239
+
"msg": {
255
240
"type": {
256
-
"name": "string"
241
+
"name": "string|number"
257
242
},
258
243
"required": "",
259
244
"defaultValue": {
260
-
"value": "\"example\"",
245
+
"value": "\"Ejemplo\"",
261
246
"computed": false
262
247
},
263
248
"tags": {
264
-
"description": [
249
+
"see": [
265
250
{
266
-
"title": "description",
267
-
"description": "filter key"
251
+
"title": "see",
252
+
"description": "See [Wikipedia](https://en.wikipedia.org/wiki/Web_colors#HTML_color_names) for a list of color names"
268
253
}
269
254
],
270
-
"kind": [
255
+
"since": [
271
256
{
272
-
"title": "kind",
273
-
"description": "member"
257
+
"title": "since",
258
+
"description": "Version 1.0.1"
274
259
}
275
260
],
276
-
"name": [
261
+
"version": [
277
262
{
278
-
"title": "name",
279
-
"description": "filterKey"
263
+
"title": "version",
264
+
"description": "1.0.5"
265
+
}
266
+
],
267
+
"link": [
268
+
{
269
+
"title": "link",
270
+
"description": "See [Wikipedia](https://en.wikipedia.org/wiki/Web_colors#HTML_color_names) for a list of color names"
280
271
}
281
272
]
282
273
},
283
-
"comment": "/**\n * filter key\n */",
284
-
"description": "filter key"
274
+
"comment": "/**\n * object/array defaults should be returned from a factory function\n * @version 1.0.5\n * @since Version 1.0.1\n * @see See [Wikipedia](https://en.wikipedia.org/wiki/Web_colors#HTML_color_names) for a list of color names\n * @link See [Wikipedia](https://en.wikipedia.org/wiki/Web_colors#HTML_color_names) for a list of color names\n */",
275
+
"description": "object/array defaults should be returned from a factory function"
276
+
},
277
+
"data": {
278
+
"type": {
279
+
"name": "array"
280
+
},
281
+
"description": "describe data"
282
+
},
283
+
"columns": {
284
+
"type": {
285
+
"name": "array"
286
+
},
287
+
"description": "get columns list"
285
288
}
286
289
},
287
290
"comment": "/**\n * This is an example of creating a reusable grid component and using it with external data.\n * @version 1.0.5\n * @author [Rafael](https://github.com/rafaesc92)\n * @since Version 1.0.1\n */",
0 commit comments