Content-Length: 270196 | pFad | http://github.com/NativeScript/docs/blob/feat/integrations/content/ui/time-picker.md

5A docs/content/ui/time-picker.md at feat/integrations · NativeScript/docs · GitHub
Skip to content

Latest commit

 

History

History
114 lines (72 loc) · 1.7 KB

time-picker.md

File metadata and controls

114 lines (72 loc) · 1.7 KB
title
TimePicker

<TimePicker> is a UI component that lets users select time.

See also: DatePicker.

<<< @/../examples/src/ui/TimePicker/template.xml#example

Props

hour

hour: number

Gets or sets the selected hour.

Defaults to current hour.

minute

minute: number

Gets or sets the selected minute.

Defaults to current minute.

time

time: Date

Gets or sets the selected time.

Defaults to current time.

minHour

minHour: number

Gets or sets the minimum selectable hour.

maxHour

maxHour: number

Gets or sets the maximum selectable hour.

minMinute

minMinute: number

Gets or sets the minimum selectable minute.

maxMinute

maxMinute: number

Gets or sets the maximum selectable minute.

minuteInterval

minuteInterval: number

Gets or sets the selectable minute interval.

Defaults to 1.

...Inherited

For additional inherited properties not shown, refer to the API Reference

Events

timeChange

on('timeChange', (args: PropertyChangeData) => {
  const timePicker = args.object as TimePicker
  console.log('Picked time:', data.value)
})

Emitted when the selected time changes.

Native component









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/NativeScript/docs/blob/feat/integrations/content/ui/time-picker.md

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy