gfm-datepicker

An angular material datepicker using a custom DateAdapter to convert dates into ISO format (YYYY-MM-DD)

Usage no npm install needed!

<script type="module">
  import gfmDatepicker from 'https://cdn.skypack.dev/gfm-datepicker';
</script>

README

Datepicker

Inputs & Default Values

  • placeholder = 'MM/DD/YYYY';
  • label: string = null;
  • touchUi = false;
  • minDate: Date | null = new Date('1900-01-01');
  • maxDate: Date | null = null;
  • startView: 'month' | 'year' | 'multi-year' = 'month';
  • startAtDate: Date | null = null;
  • width = '100%';
  • appearance: MatFormFieldAppearance = 'standard';
  • matHint: string = null;
  • matDatepicker = true;