alfresco-ng2-components/docs/core/app-config.pipe.md
2018-05-10 14:25:45 +01:00

713 B

Added, Status
Added Status
v2.4.0 Active

App Config Pipe

Retrieves values from the application configuration file directly.

Examples

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

Fallback values

You can use pipe parameters to pass fallback value:

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

Chaining with other pipes

You can also chain values with other pipes, for example translation one:

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

See also