@ulb-darmstadt/shacl-form 2.0.0-rc4 → 2.0.0-rc6
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 +2 -2
- package/dist/bundle.js +41 -38
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ HTML5 web component for editing/viewing [RDF](https://www.w3.org/RDF/) data that
|
|
|
13
13
|
```html
|
|
14
14
|
<html>
|
|
15
15
|
<head>
|
|
16
|
-
<!-- load bundled web component (or when
|
|
16
|
+
<!-- load bundled web component (or when developing your own app, just do "npm i @ulb-darmstadt/shacl-form") -->
|
|
17
17
|
<script src="https://cdn.jsdelivr.net/npm/@ulb-darmstadt/shacl-form/dist/bundle.js" type="module"></script>
|
|
18
18
|
</head>
|
|
19
19
|
<body>
|
|
@@ -95,7 +95,7 @@ Validates the form data against the SHACL shapes graph and displays validation r
|
|
|
95
95
|
```typescript
|
|
96
96
|
registerPlugin(plugin: Plugin)
|
|
97
97
|
```
|
|
98
|
-
Register a [plugin](./src/plugin.ts) to customize editing/viewing certain property values. Plugins handle specific RDF predicates or `xsd:datatype`s or both.
|
|
98
|
+
Register a [plugin](./src/plugin.ts) to customize editing/viewing certain property values. Plugins handle specific RDF predicates or `xsd:datatype`s or both. Example: [Leaflet](./src/plugins/leaflet.ts)
|
|
99
99
|
|
|
100
100
|
```typescript
|
|
101
101
|
setTheme(theme: Theme)
|