Skip to content

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Feb 8, 2018

Adds the MAT_SNACK_BAR_DEFAULT_OPTIONS injection token that allows consumers to set the default snack bar options globally.

Fixes #9821.

Adds the `MAT_SNACK_BAR_DEFAULT_OPTIONS` injection token that allows consumers to set the default snack bar options globally.

Fixes angular#9821.
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Feb 8, 2018
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

LGTM

@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release and removed pr: needs review labels Feb 9, 2018
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

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

LGTM

@tinayuangao tinayuangao merged commit a943b36 into angular:master Mar 2, 2018
@kgrvr
Copy link

kgrvr commented Apr 1, 2018

In which version this is available?

@crisbeto
Copy link
Member Author

crisbeto commented Apr 1, 2018

It's in 6.0.0-beta.4 @kgrvr.

@kgrvr
Copy link

kgrvr commented Apr 1, 2018

It'll be available in version 6 stable release?

@crisbeto
Copy link
Member Author

crisbeto commented Apr 1, 2018

Yes.

@kgrvr
Copy link

kgrvr commented Apr 1, 2018

Okay.. Thanks :)

@rtm
Copy link

rtm commented May 1, 2018

Is there some reason it is DEFAULT here, but GLOBAL in MAT_PLACEHOLDER_GLOBAL_OPTIONS?

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default duration value for MatSnackBar
7 participants