edcarroll / ng2-semantic-ui

Semantic UI Angular Integrations (no jQuery)
https://edcarroll.github.io/ng2-semantic-ui/
MIT License
615 stars 224 forks source link

dimming sui-modal #391

Open shaili123 opened 6 years ago

shaili123 commented 6 years ago

hi, I'm trying to use sui-modal and I can't understand how can I control the dimming. The dimmer is inside the sui-modal so i can't control the [is-dimmed] attribute. My final purpose is to the dimming to be depended on a variable in the ts file.

Thanks.

shaili123 commented 6 years ago

UPDATE: I'm working with sui-dimmer instead. Is there an option to make an overlay section above it? so i can click it when the screen is dimmed but the dimmer won't close.

Thanks.

gabrieldoty commented 6 years ago

@shaili123 - I think you can just use the [isClickable]="false" attribute, unless that isn't what you actually need? (Documentation here: https://edcarroll.github.io/ng2-semantic-ui/#/modules/dimmer)

shaili123 commented 6 years ago

that isn't it, I'll explain: I'm tying to create a dialog that closes when you click outside of it but not on the dialog itself. I'm not using the modal because I need an option to open it again after it was closed.

Thanks, Shai.