Skip to content

Commit

Permalink
feat: name attribute and variable renamed to key
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Aug 4, 2023
1 parent a645484 commit 362b0dc
Show file tree
Hide file tree
Showing 5 changed files with 349 additions and 113 deletions.
20 changes: 10 additions & 10 deletions demo/current-location.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
data-geolocation="true"
array="users"
object="{{userId}}"
name="currentLocation"
key="currentLocation"
data-icon="optional field name in db"
data-icon_type="optional svg or png?"
data-icon_value="optional icon value in svg or png or binary? "
Expand All @@ -58,28 +58,28 @@
</thead>
<tbody
array="users"
filter-name=""
filter-key=""
filter-value=""
filter-limit=""
filter-sort-name="name"
filter-sort-key="name"
filter-sort-direction="asc"
pass_to="me1234"
render-selector="[template]">
<tr template>
<td class="name">
<h4 pass_id="me1234" name="name">No Name</h4>
<h4 pass_id="me1234" key="name">No Name</h4>
</td>
<td>
<h4 pass_id="me1234" name="currentLocation">corrds</h4>
<h4 pass_id="me1234" key="currentLocation">corrds</h4>
</td>
<td><h4 pass_id="me1234" name="_id">Document_id</h4></td>
<td><h4 pass_id="me1234" key="_id">Document_id</h4></td>
</tr>
</tbody>
</table>

<div
template_id="datatable"
filter-name="currentLocation.coords"
filter-key="currentLocation.coords"
filter-operator="$geoWithin"
filter-value="[ [-73, 40], 100 ]"
filter-value-type="raw"
Expand All @@ -89,7 +89,7 @@ <h4 pass_id="me1234" name="currentLocation">corrds</h4>

<input
type="hidden"
filter-name="currentLocation"
filter-key="currentLocation"
filter-operator="$geoWithin"
filter-value-type="polygon"
value="<coordinates>" />
Expand All @@ -98,15 +98,15 @@ <h4 pass_id="me1234" name="currentLocation">corrds</h4>
type="text"
class="floating-label"
placeholder="Text"
name="name"
key="name"
array="users"
object="" />

<input
type="text"
class="floating-label"
placeholder="icon"
name="icon"
key="icon"
data-animator="icon" />

<input type="text" />
Expand Down
Loading

0 comments on commit 362b0dc

Please sign in to comment.