Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.

Ability to change horizontalPosition and verticalPosition dynamically - #81

Open
moravcik wants to merge 1 commit into
tameraydin:masterfrom
moravcik:master
Open

Ability to change horizontalPosition and verticalPosition dynamically#81
moravcik wants to merge 1 commit into
tameraydin:masterfrom
moravcik:master

Conversation

@moravcik

Copy link
Copy Markdown

I have set the ngToast.settings object to toast directive scope as a whole and updated corresponding template, so the template will catch dynamic changes to horizontalPosition and verticalPosition which can be done anywhere where ngToast can be injected, like following:

ngToast.settings.horizontalPosition = 'left'; // or 'right' or 'center'

I needed it for dynamic switching between LTR and RTL layout.

… in order to make dynamic change of settings available
@boltmedia

Copy link
Copy Markdown

+1

1 similar comment
@gitarno

gitarno commented Jul 21, 2016

Copy link
Copy Markdown

👍

@vguna

vguna commented Dec 17, 2017

Copy link
Copy Markdown

What's the status here? Can we get it going :)?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants