@ace-grid/wc 1.0.7
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 +36 -0
- package/dist/wc.cjs +6776 -0
- package/dist/wc.d.ts +60 -0
- package/dist/wc.js +9551 -0
- package/package.json +47 -0
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# @ace-grid/wc
|
|
2
|
+
|
|
3
|
+
Ace Grid Web Components provide framework-neutral custom elements for using Ace Grid in applications that do not render React components directly.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @ace-grid/wc @ace-grid/core react react-dom
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Quick start
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import { defineAceGridElement } from "@ace-grid/wc";
|
|
15
|
+
import { Grid } from "@ace-grid/core";
|
|
16
|
+
|
|
17
|
+
defineAceGridElement("ace-grid", { Grid });
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
```html
|
|
21
|
+
<ace-grid></ace-grid>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## When to use this package
|
|
25
|
+
|
|
26
|
+
- You need Ace Grid inside a non-React shell.
|
|
27
|
+
- You want a stable custom-element boundary for micro-frontends.
|
|
28
|
+
- You want to integrate Ace Grid with server-rendered pages or framework-neutral UI hosts.
|
|
29
|
+
|
|
30
|
+
## Runtime selection
|
|
31
|
+
|
|
32
|
+
The web component wrapper is runtime-neutral. Register it with `@ace-grid/core`, `@ace-grid/pro`, or `@ace-grid/enterprise` depending on the features and license tier your application uses.
|
|
33
|
+
|
|
34
|
+
## License
|
|
35
|
+
|
|
36
|
+
MIT. Runtime packages may have separate license terms.
|