Use the wj-popup directive to add Popup controls to your
AngularJS applications.
The popup content may be specified inside the wj-popup tag, and can
contain an arbitrary HTML fragment with AngularJS bindings and directives.
Note that directive and parameter names must be formatted as lower-case with dashes
instead of camel-case. For example:
<p>Here is a Popup control triggered by a button:</p>
<button id="btn2" type="button">
Click to show Popup
</button>
<wj-popup owner="#btn2" show-trigger="Click" hide-trigger="Blur">
<h3>
Salutation
</h3>
<div class="popover-content">
Hello {{firstName}} {{lastName}}
</div>
</wj-popup>
The wj-popup directive supports the following attributes:
control
= A reference to the Popup control created by this directive.
fade-in
@ A boolean value that determines whether popups should be shown using a fade-in animation.
fade-out
@ A boolean value that determines whether popups should be hidden using a fade-out animation.
AngularJS directive for the Popup control.
Use the wj-popup directive to add Popup controls to your AngularJS applications.
The popup content may be specified inside the wj-popup tag, and can contain an arbitrary HTML fragment with AngularJS bindings and directives.
Note that directive and parameter names must be formatted as lower-case with dashes instead of camel-case. For example:
The wj-popup directive supports the following attributes:
=
A reference to the Popup control created by this directive.@
A boolean value that determines whether popups should be shown using a fade-in animation.@
A boolean value that determines whether popups should be hidden using a fade-out animation.@
A PopupTrigger value defining the action that hides the Popup.&
This event occurs after the binding has finished initializing the control with attribute values.=
A value indicating whether the binding has finished initializing the control with attribute values.@
A CSS selector referencing an element that controls the popup visibility.@
A PopupTrigger value defining the action that shows the Popup.@
A boolean value that determines whether the Popup should be displayed as a modal dialog.&
The Popup.gotFocus event handler.&
The Popup.lostFocus event handler.&
The Popup.showing event handler.&
The Popup.shown event handler.&
The Popup.hiding event handler.&
The Popup.hidden event handler.