-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(datepicker): initial version of new datepicker (#2426)
* feat(datepicker): initial version of new datepicker * chore(datepicker): removed obselete comments * chore(ci): use node 8 and npm 5 * chore(ci): run tests * chore(ci): disable coverage until it is fixed
- Loading branch information
Showing
57 changed files
with
3,161 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
demo/src/app/components/+datepicker/demos/bs-popup/date-picker-popup.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<pre>{{bsValue}}</pre> | ||
<bs-datepicker #dp [(value)]="bsValue"></bs-datepicker> | ||
<button class="btn btn-success" (click)="dp.toggle()">Date Picker popup</button> | ||
|
||
<br> | ||
|
||
<pre>{{bsRangeValue}}</pre> | ||
<bs-daterangepicker #drp [(value)]="bsRangeValue"></bs-daterangepicker> | ||
<button class="btn btn-success" (click)="drp.toggle()">Date Range Picker popup</button> |
10 changes: 10 additions & 0 deletions
10
demo/src/app/components/+datepicker/demos/bs-popup/date-picker-popup.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'demo-date-picker-popup', | ||
templateUrl: './date-picker-popup.html' | ||
}) | ||
export class DemoDatePickerPopupComponent { | ||
public bsValue: any = new Date(2017, 7, 4); | ||
public bsRangeValue: any = [new Date(2017, 7, 4), new Date(2017, 7, 20)]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.