question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Directive approach does not work

See original GitHub issue

I’m submitting a …

[ x ] bug report [ ] support request [ ] feature request

Current behavior Directive approach <span [translate]="HELLO'"></span> does not update the text when I switch to another language. http://stackoverflow.com/questions/42349738/ngx-translate-pipe-vs-directive

plunker - https://plnkr.co/edit/PykLBrZGI1jz7Imsnzz6?p=preview

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:12

github_iconTop GitHub Comments

2reactions
stevermeistercommented, Feb 27, 2017

yes, #355 looks similar.

it should do the check https://github.com/ngx-translate/core/blob/master/src/translate.directive.ts#L85

I think I need to dive in code myself, otherwise I’ll never get an answer here 😃

1reaction
stevermeistercommented, Feb 27, 2017

I provided a plunker with exact code, you can check there. Quotes are on their place

Read more comments on GitHub >

github_iconTop Results From Across the Web

Directive Leadership: When It Does—and Doesn't—Work
Directive leadership, like other leadership styles, shouldn't be a one-size-fits-all approach to management.
Read more >
Directive Leadership Style: Definition and How to Use It
Directive leadership is not the right style for those settings. When you are leading a team that needs clear expectations and firm boundaries, ......
Read more >
Directive & Non-Directive Helping Styles
It is an authoritative style of helping, where you are seen as the expert. The three styles of directive helping are:
Read more >
Non-Directivity: Some Critical Reflections
... do get hold of a copy of Rogers's early work, Counseling and Psychotherapy). Rogers's 'non-directive' approach was a radical innovation, ...
Read more >
A non directive approach - Naturally Loyal
If you've always been quick to resolve problems for them it's all too easy for this to become the accepted norm. But doing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found