App Hostable

force:appHostable

Enables an Aura component to be used as a custom tab.

For Use In

Lightning Experience, Salesforce Mobile App

Add the force:appHostable interface to an Aura component to allow it to be used as a custom tab in Lightning Experience or the Salesforce mobile app. Components that implement this interface can be used to create tabs in both Lightning Experience and the Salesforce mobile app.

This interface is a marker interface. A marker interface is a signal to the component’s container to add the interface’s behavior to the component. You don’t need to implement any specific methods or attributes in your component, you simply add the interface name to the component’s implements attribute.

The force:appHostable interface makes the component available for use as a custom tab.

For more information, see Add Lightning Components as Custom Tabs in a Lightning App.

No specifications to show