# Wijmo_Angular_Input.Wjpopup

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								WjPopup Class
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>AngularJS directive for the <a href="wijmo_input.popup.html">Popup</a> control.</p>
								</div>
								<p>Use the <b>wj-popup</b> directive to add <a href="wijmo_input.popup.html">Popup</a> controls to your
								AngularJS applications.</p>
								<p>The popup content may be specified inside the <b>wj-popup</b> tag, and can
								contain an arbitrary HTML fragment with AngularJS bindings and directives.</p>
								<p>Note that directive and parameter names must be formatted as lower-case with dashes
								instead of camel-case. For example:</p>
								<pre>&lt;p&gt;Here is a Popup control triggered by a button:&lt;/p&gt;
&lt;button id="btn2" type="button"&gt;
    Click to show Popup
&lt;/button&gt;
&lt;wj-popup owner="#btn2" show-trigger="Click" hide-trigger="Blur"&gt;
    &lt;h3&gt;
        Salutation
    &lt;/h3&gt;
    &lt;div class="popover-content"&gt;
        Hello {​{firstName}} {​{lastName}}
    &lt;/div&gt;
&lt;/wj-popup&gt;</pre>
								<p>The <b>wj-popup</b> directive supports the following attributes:</p>
								<dl class="dl-horizontal">
									<dt>control</dt>         <dd><code>=</code> A reference to the Popup control created by this directive.</dd>
									<dt>fade-in</dt>         <dd><code>@</code> A boolean value that determines whether popups should be shown using a fade-in animation.</dd>
									<dt>fade-out</dt>        <dd><code>@</code> A boolean value that determines whether popups should be hidden using a fade-out animation.</dd>
									<dt>hide-trigger</dt>    <dd><code>@</code> A <a href="../enums/wijmo_input.popuptrigger.html">PopupTrigger</a> value defining the action that hides the <a href="wijmo_input.popup.html">Popup</a>.</dd>
									<dt>initialized</dt>     <dd><code>&amp;</code> This event occurs after the binding has finished initializing the control with attribute values.</dd>
									<dt>is-initialized</dt>  <dd><code>=</code> A value indicating whether the binding has finished initializing the control with attribute values. </dd>
									<dt>owner</dt>           <dd><code>@</code> A CSS selector referencing an element that controls the popup visibility.</dd>
									<dt>show-trigger</dt>    <dd><code>@</code> A <a href="../enums/wijmo_input.popuptrigger.html">PopupTrigger</a> value defining the action that shows the <a href="wijmo_input.popup.html">Popup</a>.</dd>
									<dt>modal</dt>           <dd><code>@</code> A boolean value that determines whether the <a href="wijmo_input.popup.html">Popup</a> should be displayed as a modal dialog.</dd>
									<dt>got-focus</dt>       <dd><code>&amp;</code> The <a href="wijmo_input.popup.html#gotfocus">Popup.gotFocus</a> event handler.</dd>
									<dt>lost-focus</dt>      <dd><code>&amp;</code> The <a href="wijmo_input.popup.html#lostfocus">Popup.lostFocus</a> event handler.</dd>
									<dt>showing</dt>         <dd><code>&amp;</code> The <a href="wijmo_input.popup.html#showing">Popup.showing</a> event handler.</dd>
									<dt>shown</dt>           <dd><code>&amp;</code> The <a href="wijmo_input.popup.html#shown">Popup.shown</a> event handler.</dd>
									<dt>hiding</dt>          <dd><code>&amp;</code> The <a href="wijmo_input.popup.html#hiding">Popup.hiding</a> event handler.</dd>
									<dt>hidden</dt>          <dd><code>&amp;</code> The <a href="wijmo_input.popup.html#hidden">Popup.hidden</a> event handler.</dd>
								</dl>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<span class="tsd-signature-type">WjDirective</span>
									<ul class="tsd-hierarchy">
										<li>
											<span class="target">WjPopup</span>
										</li>
									</ul>
								</li>
							</ul>
						</section>
					</div>