Skip to content

Pass data to templates#274

Open
WiseBird wants to merge 1 commit into
flauc:masterfrom
WiseBird:master
Open

Pass data to templates#274
WiseBird wants to merge 1 commit into
flauc:masterfrom
WiseBird:master

Conversation

@WiseBird

Copy link
Copy Markdown

Added a way to pass arbitrary data to templates.
Removed bypassSecurityTrustHtml for user-provided templates, its totally unsafe to use it.
Fixed class for html inserted via innerHTML (from sn-content to sn-html).

Removed bypassSecurityTrustHtml for user-provided templates, its totally unsafe to use it.
Fixed class for html inserted via innerHTML (from sn-content to sn-html)
@WiseBird

WiseBird commented Nov 14, 2017

Copy link
Copy Markdown
Author

@flauc Hello, build failed but I believe the cause is not in the PR, please take a look.

@WiseBird

Copy link
Copy Markdown
Author

@flauc Could you please review this PR it's really holding me back.

@flauc

flauc commented Jan 24, 2018

Copy link
Copy Markdown
Owner

Hi @WiseBird, I'm sorry this is taking so long I'm very short on time recently. Will do my best to have it merged tonight.

@worthy7

worthy7 commented Mar 30, 2018

Copy link
Copy Markdown

#deadproject

@Abenezer Abenezer mentioned this pull request Apr 14, 2018
@prcbass

prcbass commented Apr 15, 2018

Copy link
Copy Markdown

Feel free to look into the issue @worthy7. Project is clearly not dead since owner just released v1.0.0 to fix a bug. He's doing this for free.

@worthy7

worthy7 commented Apr 16, 2018

Copy link
Copy Markdown

True, I am thankful!

@cubidobusinesssolutions

Copy link
Copy Markdown

I am also looking forward to see this PR merged :) @WiseBird Please merge/rebase and push in order to have the failed checks gone..

@WiseBird

Copy link
Copy Markdown
Author

@cubidobusinesssolutions I switched to https://github.com/scttcper/ngx-toastr

@wlievens

Copy link
Copy Markdown

Any news on this feature? I need this pretty badly...

@intellix

Copy link
Copy Markdown

This library looks nice and appreciate the effort that went into it but now we're after TemplateContexts we've got to transition to ngx-toastr.

Maybe it would be better for us all to focus our efforts on ngx-toastr (which even has ng7 support already) and add a deprecation notice on this project that points there?

@wsh92

wsh92 commented Nov 12, 2018

Copy link
Copy Markdown

@flauc Any update on this feature/Pull request? I need this pretty badly...

@wsh92

wsh92 commented Nov 12, 2018

Copy link
Copy Markdown

@cubidobusinesssolutions I switched to https://github.com/scttcper/ngx-toastr

@WiseBird do ngx-toastr have template context feature?

@WiseBird

Copy link
Copy Markdown
Author

@wsh92 Yes, but it uses different approach: you create custom component for notification and pass there any data you like.

@wsh92

wsh92 commented Nov 14, 2018

Copy link
Copy Markdown

@WiseBird Thanks, it is working like charm:)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants