optional required

Embed Directives
Create & Control Semantic UI Embed with Angular Directives

sm-embed
Creates an embed.

Attributes
Callback Attributes
Example


        

sm-embed-bind
A lightweight attribute directive which calls embed() 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-embed-show / sm-embed-hide / sm-embed-reset / sm-embed-destroy
When a DOM event fires on the element with the directive, it can command embed(s) to execute a behavior.



        
Show Hide Reset Destroy