Skip to content

Instantly share code, notes, and snippets.

@dorner
Last active September 15, 2020 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dorner/d553750602732522e628c19dce893846 to your computer and use it in GitHub Desktop.
Save dorner/d553750602732522e628c19dce893846 to your computer and use it in GitHub Desktop.
Web component filtered table
<ws-filter-table perpage="20" data-table="{some_json_structure}">
<ws-row-template>
<ws-topic-row></ws-topic-row>
</ws-row-template>
<ws-filters>
<div class="filters">
<input type="text" name="topicName"/>
<input type="checkbox" name="myTopics"/>
</div>
</ws-filters>
<table>
<thead>
<tr>...</tr>
</thead>
<tbody></tbody>
</table>
<ws-navigation></ws-navigation>
</ws-filter-table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment