<div class="slds-card">
</div>
$A.get("e.force:closeQuickAction").fire()
$A.get('e.force:refreshView').fire();
slds-align_absolute-center
slds-m-top_small
slds-m-right_small
xxx-small to xx-large
slds-p-top_small
slds-p-right_small
xxx-small to xx-large
showToast : function(title, message, type) {
var toastEvent = $A.get('e.force:showToast');
toastEvent.setParams({
'title': title,
'message' : message,
'type' : type
});
toastEvent.fire();
}
<aura:if isTrue="{!v.edit}">
<ui:button label="Edit"/>
<aura:set attribute="else">
You can’t edit this.
</aura:set>
</aura:if>
Lightning Components Developer Guide