Skip to content

Instantly share code, notes, and snippets.

@dglazkov
Forked from dfreedm/date-combo-box.html
Last active August 29, 2015 14:19
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 dglazkov/7d6acd4c205a58054a7c to your computer and use it in GitHub Desktop.
Save dglazkov/7d6acd4c205a58054a7c to your computer and use it in GitHub Desktop.
<!-- instance -->
<date-range-combo-box>
<input type="date" content-slot="start">
<input type="date" content-slot="end">
</date-range-combo-box>
<template element="date-combo-box">
<content slot="date"></content>
</template>
<template element="date-range-combo-box">
<date-combo-box>
<content slot="start" as="date"></content>
</date-combo-box>
<date-combo-box>
<content slot="end" as="date"></content>
</date-combo-box>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment