2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Lightningコンポーネント ($A)

Last updated at Posted at 2017-02-06

####クラスの追加
$A.util.addClass(modalP,'slds-fade-in-open');
####クラスの削除
$A.util.removeClass(modalP,'slds-fade-in-open');
####クラスのtoggle
$A.util.toggleClass(target, "slds-hide") //slds-hide=>display:none

####他のコンポーネントの更新をリクエスト
$A.get('e.force:refreshView').fire();

QuickActionで表示したダイアログのクローズ

$A.get("e.force:closeQuickAction").fire();

別のレコードへの移動

var sObectEvent = $A.get("e.force:navigateToSObject");
sObectEvent .setParams({
    "recordId": recordId,
    "slideDevName": "detail"
});
sObectEvent.fire();

####ログインユーザーIDの取得
$A.get("$SObjectType.CurrentUser.Id");

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?