optional required

Shape Directives
Create & Control Semantic UI Shape with Angular Directives

sm-shape
Creates a shape.

Attributes
Callback Attributes
Example


        
        
        

Did you know? This side starts visible.
Help, its another side!
This is the last side

sm-shape-bind
A lightweight attribute directive which calls shape() 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.



        
        
        

Did you know? This side starts visible.
Help, its another side!
This is the last side

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-shape-flip-up
When a DOM event fires on the element with the directive, it can command shape(s) to flip up.



        
Flip Up
Did you know? This side starts visible.
Help, its another side!
This is the last side

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



        
Flip Down
Did you know? This side starts visible.
Help, its another side!
This is the last side

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



        
Flip Left
Did you know? This side starts visible.
Help, its another side!
This is the last side

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



        
Flip Right
Did you know? This side starts visible.
Help, its another side!
This is the last side

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



        
Flip Over
Did you know? This side starts visible.
Help, its another side!
This is the last side

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



        
Flip Back
Did you know? This side starts visible.
Help, its another side!
This is the last side

sm-shape-set-next-side
When a DOM event fires on the element with the directive, it can command shape(s) to set the next side to a specific selector.

sm-shape-reset
When a DOM event fires on the element with the directive, it can command shape(s) to remove all inline styles.

sm-shape-queue
When a DOM event fires on the element with the directive, it can command shape(s) to queue an animation till after current animation.

sm-shape-repaint
When a DOM event fires on the element with the directive, it can command shape(s) to forces a reflow on the element(s).

sm-shape-set-default-side
When a DOM event fires on the element with the directive, it can command shape(s) to set the next side to next sibling to active element.

sm-shape-set-stage-size
When a DOM event fires on the element with the directive, it can command shape(s) to set shape to the content size of the next side.

sm-shape-refresh
When a DOM event fires on the element with the directive, it can command shape(s) to refresh the selector cache for element sides.