Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.63 KB

readme.md

File metadata and controls

32 lines (20 loc) · 1.63 KB

as-countdown

Properties

Property Attribute Description Type Default
date date The date to count down to Date | number | string undefined
daysLabel days-label The label to display for days string 'Days'
hideDays hide-days Toggle hiding days boolean false
hideHours hide-hours Toggle hiding hours boolean false
hideMinutes hide-minutes Toggle hiding minutes boolean false
hideSeconds hide-seconds Toggle hiding seconds boolean false
hoursLabel hours-label The label to display for hours string 'Hours'
minutesLabel minutes-label The label to display for minutes string 'Minutes'
secondsLabel seconds-label The label to display for seconds string 'Seconds'

Events

Event Description Type
done Event emitted when countdown has finished CustomEvent<null>

Built with StencilJS