@sulzanoks/vue-datatable 0.0.14 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/datatable-card.es.js +527 -525
- package/dist/datatable-card.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/Components/DatatableCard.vue +7 -5
package/README.md
CHANGED
|
@@ -74,6 +74,11 @@ The DatatableCard component accepts the following props:
|
|
|
74
74
|
- `cardClasses` (String, optional, default: null): Additional CSS classes to apply to the card.
|
|
75
75
|
- `createLink` (String, optional, default: null): A link or URL to navigate to when clicking a "Create" button or link within the card.
|
|
76
76
|
- `requestQueryParams` (Object, optional): additional request query parameters to include when loading data from server.
|
|
77
|
+
- `actions` (Array, optional): Array of action objects defining action buttons for each row.
|
|
78
|
+
- `emit` (String, required): name of event to emit upon click
|
|
79
|
+
- `icon` (String, optional): The name of an icon from [Google Icons](https://fonts.google.com/icons) to display inside button.
|
|
80
|
+
- `label` (String, optional): Text to display inside button.
|
|
81
|
+
- `class` (String, optional): CSS class to apply to button.
|
|
77
82
|
|
|
78
83
|
## Internal Methods
|
|
79
84
|
|