@cocreate/elements
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -0,1 +1,8 @@ | ||
## [1.3.6](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.3.5...v1.3.6) (2021-11-08) | ||
### Bug Fixes | ||
* input event was not bing added for elements with no document_id input event is needed to create new document_id ([470f798](https://github.com/CoCreate-app/CoCreate-elements/commit/470f7986fe23394161ce1ee75fe4772f4869f2fd)) | ||
## [1.3.5](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.3.4...v1.3.5) (2021-11-07) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@cocreate/elements", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"description": "Fetch content into any html element by using html5 attributes to query data stored in CoCreate headless CMS. If data is changed it will instantly reflect in html tags as changes are broadcasted in realtime", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -42,4 +42,4 @@ import observer from '@cocreate/observer'; | ||
const { collection, document_id, name, isRead } = crud.getAttr(el); | ||
if (!collection || !document_id|| !name || isRead == "false") return; | ||
if (!crud.checkAttrValue(collection) || !crud.checkAttrValue(document_id) || !crud.checkAttrValue(name)) return; | ||
if (!collection || !name) return; | ||
if (!crud.checkAttrValue(collection) || !crud.checkAttrValue(name)) return; | ||
@@ -122,3 +122,3 @@ __initEvents(el); | ||
if (isCrdt == "true" && document_id || isRealtime == "false") return; | ||
if (e.detail.skip === true) return; | ||
if (e.detail && e.detail.skip === true) return; | ||
save(el); | ||
@@ -169,2 +169,2 @@ }); | ||
export default {initElements, initElement, save}; | ||
export default {initElements, initElement, save, getValue, setValue}; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52648