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

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -