optional required

Sticky Directives
Create & Control Semantic UI Sticky with Angular Directives

sm-sticky
Creates a sticky.

Attributes
Callback Attributes
Example


        

Stuck Content

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

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-sticky-refresh
When a DOM event fires on the element with the directive, it can command sticky(s) to refresh it's current offset (which is useful when the sticky content or the context content changes).