2.11.1 • Published 1 year ago

@candidosales/material-time-picker v2.11.1

Weekly downloads
218
License
MIT
Repository
github
Last release
1 year ago

Material Time Picker

A simple time picker component using Angular Material.

Compatibility

VersionAngular
2.11.018
2.10.017
2.9.016
2.7.015
2.6.014
2.5.013
2.4.012
2.3.011
2.2.010
2.1.09
2.0.07

Installation

npm i @candidosales/material-time-picker

Quickstart

Usage

import { Component } from "@angular/core";
import { MaterialTimePickerComponent } from "material-time-picker";

@Component({
  standalone: true,
  selector: "d-root",
  templateUrl: "./app.component.html",
  styleUrls: ["./app.component.scss"],
  imports: [MaterialTimePickerComponent],
})
export class AppComponent {
  title = "demo";
  exportTime = { hour: 7, minute: 15, meriden: "PM", format: 24 };

  onChangeHour(event) {
    console.log("event", event);
  }
}
<material-timepicker color="primary" label="Hour 2" appearance="fill" [userTime]="exportTime" (change)="onChangeHour($event)" revertLabel="Remove" submitLabel="Ok" [disabled]="disabled" [readonly]="readonly"></material-timepicker>

Examples

Check the demo.

License

This project is licensed under the MIT License - see the LICENSE file for details

2.11.0

1 year ago

2.10.1

1 year ago

2.11.1

1 year ago

2.10.0

1 year ago

2.9.0

1 year ago

2.8.0

2 years ago

2.5.0

3 years ago

2.7.0

3 years ago

2.6.1

3 years ago

2.6.0

3 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.4.0

4 years ago

2.1.0

4 years ago

2.0.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago