-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/dialog #688
Feature/dialog #688
Conversation
Codecov Report
@@ Coverage Diff @@
## master #688 +/- ##
==========================================
+ Coverage 72.88% 73.64% +0.76%
==========================================
Files 161 169 +8
Lines 4385 4542 +157
Branches 338 348 +10
==========================================
+ Hits 3196 3345 +149
- Misses 1122 1125 +3
- Partials 67 72 +5
|
open() { | ||
this.dialogService.open(NbDialogComponent, { | ||
context: { | ||
title: 'This is title passed to the dialog component', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a title
</ng-template> | ||
<button class="btn btn-primary" (click)="open(dialog)">Open Dialog</button> | ||
`, | ||
styles: [` /deep/ nb-layout-column { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new lines
import { NbDialogRef } from '@nebular/theme'; | ||
|
||
@Component({ | ||
selector: 'nb-dialog', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copy to the each of the examples
4318c51
to
635cc78
Compare
Please read and mark the following check list before creating a pull request:
Short description of what this resolves:
Closes #666, Closes #665