ngx-bootstrap
Version:
Angular Bootstrap
33 lines • 1.61 kB
JavaScript
import { Component } from '@angular/core';
export class BsTimepickerViewComponent {
constructor() {
this.ampm = 'ok';
this.hours = 0;
this.minutes = 0;
}
}
BsTimepickerViewComponent.decorators = [
{ type: Component, args: [{
selector: 'bs-timepicker',
template: `
<div class="bs-timepicker-container">
<div class="bs-timepicker-controls">
<button class="bs-decrease" type="button">-</button>
<input type="text" [value]="hours" placeholder="00">
<button class="bs-increase" type="button">+</button>
</div>
<div class="bs-timepicker-controls">
<button class="bs-decrease" type="button">-</button>
<input type="text" [value]="minutes" placeholder="00">
<button class="bs-increase" type="button">+</button>
</div>
<button class="switch-time-format" type="button">{{ ampm }}
<img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAABSElEQVQYV3XQPUvDUBQG4HNuagtVqc6KgouCv6GIuIntYBLB9hcIQpLStCAIV7DYmpTcRWcXqZio3Vwc/UCc/QEqfgyKGbr0I7nS1EiHeqYzPO/h5SD0jaxUZjmSLCB+OFb+UFINFwASAEAdpu9gaGXVyAHHFQBkHpKHc6a9dzECvADyY9sqlAMsK9W0jzxDXqeytr3mhQckxSji27TJJ5/rPmIpwJJq3HrtduriYOurv1a4i1p5HnhkG9OFymi0ReoO05cGwb+ayv4dysVygjeFmsP05f8wpZQ8fsdvfmuY9zjWSNqUtgYFVnOVReILYoBFzdQI5/GGFzNHhGbeZnopDGU29sZbscgldmC99w35VOATTycIMMcBXIfpSVGzZhA6C8hh00conln6VQ9TGgV32OEAKQC4DrBq7CJwd0ggR7Vq/rPrfgB+C3sGypY5DAAAAABJRU5ErkJggg=="
alt="">
</button>
</div>
`
},] }
];
//# sourceMappingURL=bs-timepicker-view.component.js.map