Framework:
  • JavaScript / Vanilla JS
  • React.js
  • Vue.js
On this page
    CoreUI PRO for AngularThis component is part of CoreUI PRO – a powerful UI library with over 250 components and 25+ templates, designed to help you build modern, responsive apps faster. Fully compatible with Angular, Bootstrap, React.js, and Vue.js.Get CoreUI PRO

    Angular Time Picker Component

    Create consistent cross-browser and cross-device Angular time picker.

    Loading...
    ## Examples
    Loading...
    Loading...
    Loading...
    ### Sizing Set heights using `size` property like `size="lg"` and `size="sm"`.
    Loading...
    Loading...
    ### Disabled Add the `disabled` boolean attribute on an input to give it a grayed out appearance and remove pointer events.
    Loading...
    Loading...
    ### Readonly Add the `inputReadOnly` boolean attribute to prevent modification of the input value.
    Loading...
    Loading...
    ### Filtered Add filter callback functions to limit selectable values.
    Loading...
    Loading...
    Loading...
    ### with Footer
    Loading...
    Loading...
    Loading...
    ## Non-english locale ### Auto
    Loading...
    Loading...
    ### Chinese
    Loading...
    Loading...
    ### Japanese
    Loading...
    Loading...
    ### Korean
    Loading...
    Loading...
    ### Hebrew
    Loading...
    Loading...
    ### Persian
    Loading...
    Loading...
    ## Forms Angular handles user input through reactive and template-driven forms. CoreUI Time Picker supports both types. ### Reactive
    Loading...
    Loading...
    Loading...
    ### Template-driven
    Loading...
    Loading...
    Loading...
    --- ## API reference ### TimePicker Module
    ```typescript import { TimePickerModule, DropdownModule, SharedModule } from '@coreui/angular'; @NgModule({ imports: [ TimePickerModule, DropdownModule, SharedModule ] }) export class AppModule() { } ```
    --- ### c-time-picker _component_ ##### Inputs
    | name | description | type | default | | ---- | ----------- | ---- | ------- | | `time` | Initial selected time. | `Date` | _undefined_ | | `cleaner` | Toggle visibility or set the content of the cleaner button. | `boolean` | _true_ | | `disabled` | Toggle the disabled state for the component. | `boolean` | _false_ | | `indicator` | Toggle visibility or set the content of the input indicator. | `boolean` | _true_ | | `inputReadOnly` | Toggle the readonly state for the input. | `boolean` | _false_ | | `locale` | Sets the default locale for components. If not set, it is inherited from the browser. | `string` | _default_ | | `placeholder` | Specifies hint visible in time input. | `string` | _Select date_ | | `seconds` | Toggle seconds visibility. | `boolean` | _false_ | | `size` | Size the component input small or large. | `sm` \| `lg` | _undefined_ | | `valid` | Set input validation visual feedback. | `boolean` | _undefined_ | | `variant` | Set the time picker variant to a roll or select. | `roll` \| `select` | _roll_ | | `visible` | Toggle the visibility of dropdown menu component. | `boolean` | _false_ | | `filterHours` | Available hours to pick filter function. | `(value: number) => boolean` | _undefined_ | | `filterMinutes` | Available minutes to pick filter function. | `(value: number) => boolean` | _undefined_ | | `filterSeconds` | Available seconds to pick filter function. | `(value: number) => boolean` | _undefined_ |
    ##### Outputs
    | name | description | type | | ---- | ----------- | ---- | | `timeChange` | Event emitted on `time` change | `Date` \| `undefined` |
    • Twitter
    • Support
    • CoreUI (Vanilla)
    • CoreUI for React.js
    • CoreUI for Vue.js

    CoreUI for Angular is Open Source UI Components Library for Angular.

    Currently v5.4.12 Code licensed MIT , docs CC BY 3.0 .
    CoreUI PRO requires a commercial license.