Date

View code

Use

HTML

<rg-date></rg-date>

JavaScript

var tags = riot.mount({
  date: moment(),
  min: '14-01-2015',
  max: '20-05-2016'
})

This component relies on a third party date management library called Moment. You can find more information about Moment from their website at momentjs.com.