alfresco-ng2-components/docs/core/pipes/app-config.pipe.md
Andy Stark 5fc05da7aa [ADF-4152] Updated folder structure of core docs (#4415)
* [ADF-4152] Moved core library docs into subfolders

* [ADF-4152] Moved core library docs into subfolders

* [ADF-4152] Manual fixes to core doc file links

* [ADF-4152] Further automatic + manual link tidying
2019-03-12 14:20:20 +00:00

932 B

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
App Config Pipe v2.4.0 Active 2018-05-24

App Config Pipe

Retrieves values from the application configuration file directly.

Basic usage

<adf-login
    copyrightText="{{ 'application.copyright' | adfAppConfig }}">
</adf-login>

Details

Fallback values

You can use the pipe parameter to pass a fallback value which will be used if the property name is not found:

<adf-login
    copyrightText="{{ 'application.copyright' | adfAppConfig:'Fallback Text' }}">
</adf-login>

Chaining with other pipes

You can also chain values with other pipes such as the translation pipe:

<adf-login
    copyrightText="{{ 'application.copyright' | adfAppConfig | translate }}">
</adf-login>

See also