Your solution worked. Good to know that I can enable crux work in a pop up.
Thanks Brian.
On Tue, Nov 23, 2021 at 10:59 AM Roman Isitua wrote:
> Thanks for sharing this. I will try your suggestion and revert back to you.
>
> One question I have now is must the modal property be set to true for
addElement(popupAux);
>
> }
>
> else
>
> {
>
> popupAux.content = contentPopup;
>
> }
>
> }
>
>
>
> if(!popupAux.ope
Thanks for sharing this. I will try your suggestion and revert back to you.
One question I have now is must the modal property be set to true for crux
to work in the pop up ?
I think in my use case the modal property is false. I will check and revert
On Mon, 22 Nov 2021, 23:29 Brian Raymes,
.open)
popupAux.open = true;
}
Why does it work? I don't know ☹... Roman could you compare this example with
your completed code?
Hiedra
De: Brian Raymes
Enviado el: lunes, 22 de noviembre de 2021 23:29
Para: users@royale.apache.org
Asunto: RE: [EXTERNAL] Re: Cru
To make Crux work within popups, simply dispatch the ADD_BEAN event for the
content before opening it. For example:
var somePopupContent:SomePopupContent = new SomePopupContent();
dispatchEvent(new BeanEvent(BeanEvent.ADD_BEAN, somePopupContent));
var popup:PopUp = new PopUp();
popup.modal = tru