forked from valor-software/ngx-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from valor-software/development
Updating latest changes
- Loading branch information
Showing
86 changed files
with
1,628 additions
and
260 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
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
20 changes: 20 additions & 0 deletions
20
demo/src/app/components/+buttons/demos/radio-with-group/radio-with-group.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,20 @@ | ||
<pre class="card card-block card-header">{{radioModel || 'null'}}</pre> | ||
<div class="form-inline"> | ||
<div class="btn-group" btnRadioGroup [(ngModel)]="radioModel" [disabled]="modelGroupDisabled"> | ||
<label class="btn btn-success" btnRadio="Left">Left</label> | ||
<label class="btn btn-success" btnRadio="Middle">Middle</label> | ||
<label class="btn btn-success" btnRadio="Another" [disabled]="true">Disabled</label> | ||
<label class="btn btn-success" btnRadio="Right">Right</label> | ||
</div> | ||
<button class="btn btn-warning" (click)="modelGroupDisabled = !modelGroupDisabled">Enable/Disable</button> | ||
</div> | ||
|
||
|
||
<pre class="card card-block card-header">{{radioModelDisabled || 'null'}}</pre> | ||
<div class="form-inline"> | ||
<div class="btn-group" btnRadioGroup [(ngModel)]="radioModelDisabled" disabled> | ||
<label class="btn btn-success" btnRadio="Left">Left</label> | ||
<label class="btn btn-success" btnRadio="Middle">Middle</label> | ||
<label class="btn btn-success" btnRadio="Right">Right</label> | ||
</div> | ||
</div> |
11 changes: 11 additions & 0 deletions
11
demo/src/app/components/+buttons/demos/radio-with-group/radio-with-group.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,11 @@ | ||
import { ChangeDetectionStrategy, Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'demo-buttons-radio-with-group', | ||
templateUrl: './radio-with-group.html' | ||
}) | ||
export class DemoButtonsRadioWithGroupComponent { | ||
radioModel = 'Middle'; | ||
radioModelDisabled = 'Middle'; | ||
modelGroupDisabled=false | ||
} |
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
10 changes: 10 additions & 0 deletions
10
...app/components/+datepicker/demos/tooltip-to-selected-dates/tooltip-to-selected-dates.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,10 @@ | ||
<div class="row"> | ||
<div class="col-xs-12 col-12 col-md-4 form-group"> | ||
<input type="text" | ||
placeholder="Datepicker" | ||
class="form-control" | ||
bsDatepicker | ||
[dateTooltipTexts]="selectedDates" | ||
[bsConfig]="{ dateTooltipTexts: selectedDates }"> | ||
</div> | ||
</div> |
13 changes: 13 additions & 0 deletions
13
...c/app/components/+datepicker/demos/tooltip-to-selected-dates/tooltip-to-selected-dates.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,13 @@ | ||
import { Component } from '@angular/core'; | ||
import { DatepickerDateTooltipText } from 'ngx-bootstrap/datepicker'; | ||
|
||
@Component({ | ||
selector: 'demo-datepicker-tooltip-to-selected-dates', | ||
templateUrl: './tooltip-to-selected-dates.html' | ||
}) | ||
export class DemoDatePickerTooltipToSelectedDates { | ||
selectedDates : DatepickerDateTooltipText[] = [{ date: new Date('2020-08-08'), tooltipText: '8th of August'}, | ||
{ date: new Date('2020-08-09'), tooltipText: '9th of August'}, | ||
{ date: new Date('2020-08-07'), tooltipText: '7th of August'} | ||
] | ||
} |
Oops, something went wrong.