Assets
What are Assets?
Assets are application resources that support the functionality of the application, but do not have a standardized role in the application. For example, the public and private key need to support SSL would be considered an asset.
Using Assets
Depending on your needs, there are a couple of ways to load an asset. The first is to load the asset asynchronously via the asset()
method.
The second approach is to load the asset synchronously.
Last updated