@revolist/svelte-datagrid 4.9.7 → 4.9.8
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/dist/index.d.ts +4 -1
- package/dist/svelte-datagrid.js +160 -142
- package/dist/svelte-datagrid.umd.cjs +160 -142
- package/lib/components/RevoGrid.ts +147 -134
- package/lib/svelte/RevoGrid.svelte +2 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -84,7 +84,8 @@ declare interface RevoGridEvents {
|
|
|
84
84
|
Use e.preventDefault() to prevent range. */
|
|
85
85
|
beforerange: Parameters<JSX.RevoGrid["onBeforerange"]>[0];
|
|
86
86
|
/** Triggered after focus render finished.
|
|
87
|
-
Can be used to access a focus element through `event.target
|
|
87
|
+
Can be used to access a focus element through `event.target`.
|
|
88
|
+
This is just a duplicate of `afterfocus` from `revogr-focus.tsx`. */
|
|
88
89
|
afterfocus: Parameters<JSX.RevoGrid["onAfterfocus"]>[0];
|
|
89
90
|
/** This event is triggered before the order of `rgRow` is applied.
|
|
90
91
|
To prevent the default behavior of changing the order of `rgRow`, you can call `e.preventDefault()`. */
|
|
@@ -283,6 +284,8 @@ declare interface RevoGridProps {
|
|
|
283
284
|
Used for additional items creation such as plugin elements.
|
|
284
285
|
Should be set before grid render inside of plugins. */
|
|
285
286
|
registerVNode?: Components.RevoGrid["registerVNode"];
|
|
287
|
+
/** Enable accessibility. If disabled, the grid will not be accessible. */
|
|
288
|
+
accessible?: Components.RevoGrid["accessible"];
|
|
286
289
|
}
|
|
287
290
|
|
|
288
291
|
declare interface RevoGridSlots {
|