Ask for Duration
Presents a duration picker and returns the chosen duration as an integer number of seconds. At least one picker component must be enabled.
Parameters
Default Duration
The starting duration in total seconds. Defaults to 300 seconds.
Type: number
Show Days
Show a days picker column. Off by default.
Type: Boolean
Show Hours
Show an hours picker column. On by default.
Type: Boolean
Show Minutes
Show a minutes picker column. On by default.
Type: Boolean
Show Seconds
Show a seconds picker column. On by default.
Type: Boolean
Minute Increment
The step used by the minutes picker. Defaults to 1 minute.
Type: menu
Options: 1, 5, 10, or 15 minutes.
Result
The selected duration as an integer number of seconds.