It's All Writing.

Writing makes you happy.

How to get attribute which passed to a dynamically creating component

Environment

  • Lightning component

Prerequisites

For example as this case, I'll use code shown at last entry.

At the code as below, we cannot get contacts which modified at child component.

gist.github.com

Solution

It's simple.
The code is shown as below.

gist.github.com