Skip to content

Commit 357407b

Browse files
committed
fix: remove data- from fetch, pass and filter
1 parent 71cb676 commit 357407b

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ <h3 >value 3</h3>
113113
<!-- End CoCreate SideNav Right -->
114114

115115
<!-- floating btn -->
116-
<a class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue grow-hover round z-index:12" target="modal" href="block-form.html" data-pass_collection="blocks" data-modal_width="320px" data-modal_height="100%" data-modal_color="#229954" data-pass_to="render">
116+
<a class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue grow-hover round z-index:12" target="modal" href="block-form.html" pass-collection="blocks" modal-width="320px" modal-height="100%" modal-color="#229954" pass_to="render">
117117
<i class="fa fa-plus"></i>
118118
</a>
119119
<!-- end floating btn -->

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ <h2 class="padding:5px_0px">Demo</h2>
108108
<a class="margin-right:10px" id="preview" data-show="preview" data-hide="code"><i class="far fa-eye"></i></a>
109109
<a class="margin-right:10px hidden" id="code" data-show="code" data-hide="preview"><i class="fas fa-code"></i></a>
110110
<!--<a class="margin-right:10px"><i class="far fa-window-maximize"></i></a>-->
111-
<a target="modal" href="module_activity_datatable.html" data-pass_collection="modules" data-pass_document_id="" data-pass_fetch_value="" data-pass_prefix="" data-pass_to="render" data-modal_width="600px" data-modal_height="400px" data-modal_color="#229954"
112-
data-modal_header="false" class="margin-right:10px">
111+
<a target="modal" href="module_activity_datatable.html" pass-collection="modules" pass-document_id="" pass-fetch_value="" pass-prefix="" pass_to="render" modal-width="600px" modal-height="400px" modal-color="#229954"
112+
modal-header="false" class="margin-right:10px">
113113
<i class="fas fa-external-link-alt"></i>
114114
</a>
115115
<a class="margin-right:5px" data-fullscreen target="#playground-1"><i class="fas fa-expand"></i></a>

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h1 data-element_id="t4" name="4">test 4</h1>
3434
<input id="margin-left" class="floating-label z-index:0" placeholder="margin-left:" data-attributes="classstyle" data-attributes_property="margin-left" collection="builder" document_id="null" active>
3535
<div class="position:relative width:40px top:-28px right:8px float:right cursor:pointer">
3636
<cocreate-select class="styleunit remove-none border:none padding:0 min-height:auto!important" data-attributes="data-attributes_unit" data-attributes_target="#margin-left">
37-
<ul class="options overflow:auto options z-index:7" data-fetch_collection="modules" data-filter_value="5f94ff945412e75f9b414a3e" data-filter_name="_id" data-filter_operator="$eq" data-fetch_name="units" data-template_id="units1">
37+
<ul class="options overflow:auto options z-index:7" fetch-collection="modules" filter-value="5f94ff945412e75f9b414a3e" filter-name="_id" filter-operator="$eq" fetch-name="units" template_id="units1">
3838
<li class="template option" value="px"><span>px</span></li>
3939
<li class="template option" value="%"><span>%</span></li>
4040
<li class="template option" value="em"><span>em</span></li>

0 commit comments

Comments
 (0)