Skip to content
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

Adding ng-content to IgxSnackbar - master #3548

Merged
merged 14 commits into from
Jan 11, 2019

Conversation

mtsvyatkova
Copy link
Contributor

@mtsvyatkova mtsvyatkova commented Jan 8, 2019

Closes #3328

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code
  • This PR includes API docs for newly added methods/properties
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes
  • This PR includes behavioral changes and the feature specification has been updated with them

gedinakova
gedinakova previously approved these changes Jan 8, 2019
gedinakova
gedinakova previously approved these changes Jan 10, 2019
@rmkrmk rmkrmk added 💥 status: in-test PRs currently being tested ✅ status: verified Applies to PRs that have passed manual verification and removed ❌ status: awaiting-test PRs awaiting manual verification 💥 status: in-test PRs currently being tested labels Jan 10, 2019
kdinev
kdinev previously approved these changes Jan 10, 2019
@@ -1,6 +1,9 @@
<div class="igx-snackbar" *ngIf="isVisible" (@slideInOut.start)="snackbarAnimationStarted($event)" (@slideInOut.done)="snackbarAnimationDone($event)"
[@slideInOut]="isVisible">
<span class="igx-snackbar__message" [@fadeInOut]="isVisible">{{ message }}</span>
<div class="igx-snackbar__message">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question remains. If you leave this as, then all the content will fadeIn/out, and the message will be displayed only if it exists:

<div class="igx-snackbar__message" [@fadeInOut]="isVisible">
  {{ message }}
  <ng-content></ng-content>
</div>

@simeonoff Do we need a container for the message, in terms of styling?

@mtsvyatkova mtsvyatkova dismissed stale reviews from kdinev and gedinakova via 7465f32 January 11, 2019 09:31
kdinev
kdinev previously approved these changes Jan 11, 2019
@gedinakova gedinakova merged commit b36e4b8 into master Jan 11, 2019
@gedinakova gedinakova deleted the mtsvyatkova/snackbar-ng-content-master branch January 11, 2019 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
snackbar version: 7.2.x ✅ status: verified Applies to PRs that have passed manual verification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding a custom svg to snackbar
4 participants