Is this `PersonModel` used to store parameters. As...
# tornadofx
v
Is this
PersonModel
used to store parameters. As far as I understood, it should be
Copy code
class PersonEditor: Fragment() {
  val model: PersonModel by inject()
  ...
}
So the trick inside
editPerson
just creates two instances for
PersonModel
and
PersonEditor
classes and sets them up in a separate resource space, right? I.e. to pass parameters via a Scope, I must create some auxiliary class for my
CategoryControlFragment
to store some options?