Set the parent of an Aurelia Dialog -
aurelia dialog puts ui elements @ root of document (or near).
is there way configure dialog places in document?
(i trying make dialog part of router page rather part of overall document.)
yes can, stated official doc: http://aurelia.io/hub.html#/doc/article/aurelia/dialog/latest/dialog-basics/5
in controller settings part, there config property name host
, can pass element here anchor dialog, instead of default document.body
doc:
host
: allows providing element parent dialog - if not provided body used.
Comments
Post a Comment