Questions tagged [value-providers]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
206 views

Migrate Global Value Providers from Aura to LWC: how to detect browser in lightning web component?

For most Global Value providers there are equivalent @salesforce modules in LWC, except for globalId and $Browser Am I wrong? Is there any equivalent for $Browser global provider in LWC? How to ...
3
votes
1answer
846 views

What is the purpose of $ContentAsset provider? Why can't $Resource always be used?

What is the purpose of $ContentAsset provider? Why can't $Resource always be used? Is there any point of storing images, style sheets, and JavaScript in some other places rather than in ...
7
votes
1answer
431 views

What is the cmp.addValueProvider() feature designed for?

To implement something like a public ValueProvider I implemented a component combining the features out there to have static values available in js and markup. Now I'm having trouble using the ...