App Hostable
Has Record Id
Has SObject Name
Lightning Quick Action
Lightning Quick Action Without Header
LWC Developer Guide
SLDS 1
SLDS 2
force:lightningQuickActionWithoutHeader
Indicates that a component can be used as a custom action.
For Use In
Lightning Experience, Salesforce Mobile App
Add the force:lightningQuickActionWithoutHeader interface to an Aura component to allow it to be used as a custom action in Lightning Experience or the Salesforce mobile app. You can use these components as object-specific or global actions in both Lightning Experience and the Salesforce mobile app.
When used as actions, components that implement the force:lightningQuickActionWithoutHeader interface display in a panel without additional controls. The component should provide a complete user interface for the action. If you implement force:lightningQuickActionWithoutHeader, you can’t implement force:lightningQuickAction within the same component.
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.
1<!--quickAdd.cmp-->
2<aura:component implements="force:lightningQuickActionWithoutHeader">
3
4 <!-- Very simple addition -->
5
6 <lightning:input type="number" name="myNumber" aura:id="num1" label="Number 1"/> +
7 <lightning:input type="number" name="myNumber" aura:id="num2" label="Number 2"/>
8
9 <br/>
10 <lightning:button label="Add" onclick="{!c.clickAdd}"/>
11
12</aura:component>For more information, and an example including controller code, see Configure Components for Custom Actions.
