0
0

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 3 years have passed since last update.

コンポーネントイベント

Last updated at Posted at 2020-03-20

1.自体通信
image.png
cmp:<><>
js:cmp.getEvent("").fire()

2.子親通信
image.png
親cmp:<>
子cmp:<>
子js:cmp.getEvent("").fire()

3.親子通信(下記のやり方で通信できません)
image.png
子cmp:<>
親cmp:<>
親js:cmp.getEvent("").fire()

4.親子通信(下記のやり方で通信できる)
子cmp:<>
子controll.js:call:function (component, event, helper) {}
親controll.js:
var aaa = component.find("子aura:id");
aaa.call();

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?