File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,21 +70,21 @@ To use the components in HTML (as so-called 'Web Components'), simply include th
70
70
<script src =" https://cdn.jsdelivr.net/npm/@openeo/vue-components@2/assets/openeo.min.js" ></script >
71
71
```
72
72
73
- All components can be used as HTML tags in kebab-case. Also, ALL parameters must be converted to kebab-case!
74
- For example, the component [ ` BillingPlans ` ] ( #billingplans ) can be used as ` <billing-plans></billing-plans> ` .
73
+ All components can be used as HTML tags in kebab-case, prefixed with ` openeo- ` . Also, ALL parameters must be converted to kebab-case too !
74
+ For example, the component [ ` BillingPlans ` ] ( #billingplans ) can be used as ` <openeo- billing-plans></openeo- billing-plans> ` .
75
75
Props can be passed as HTML attributes if the value is a scalar.
76
76
For arrays and objects, you have to specify them as child ` script ` tags with the attributes ` prop="..." ` and ` type="application/json" ` .
77
77
78
78
For example, the [ ` Capabilities ` ] ( #capabilities ) component can be used as follows:
79
79
``` html
80
- <capabilities url =" https://example.com/api" >
80
+ <openeo- capabilities url =" https://example.com/api" >
81
81
<script prop =" capabilities" type =" application/json" >
82
82
{
83
83
" api_version" : " 1.0.0" ,
84
84
...
85
85
}
86
86
</script >
87
- </capabilities >
87
+ </openeo- capabilities >
88
88
```
89
89
90
90
The components are async web components, which means only the components you are actually using are requested. This keeps page loading times at a minimum.
You can’t perform that action at this time.
0 commit comments