optional required

Dimmer Directives
Create & Control Semantic UI Dimmers with Angular Directives

sm-dimmer
Creates a dimmer with content for the parent element.

Attributes
Callback Attributes
Example


        

Overlayable Section

I <3 Dimmers!

sm-dimmer-bind
A lightweight attribute directive which calls dimmer() on the element with the settings object passed to the attribute. Using this directive means you need to manage the communication between Angular and Semantic UI yourself.



        

Overlayable Section

Dimmed Message!

Behavior Directives

These attribute directives invoke a behavior on the component where the attribute value can be one of the following formats:

String
Object
Example


        
Execute Simple Behavior Execute Advanced Behavior

sm-dimmer-show
When a DOM event fires on the element with the directive, it can command dimmer(s) to show.



        

Overlayable Section

Show

sm-dimmer-hide
When a DOM event fires on the element with the directive, it can command dimmer(s) to hide.



        

Overlayable Section

Hide

sm-dimmer-toggle
When a DOM event fires on the element with the directive, it can command dimmer(s) to toggle their visibility.



        

Overlayable Section

Toggle