# Wijmo_Angular_Input.Wjinputdate

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								WjInputDate Class
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>AngularJS directive for the <a href="wijmo_input.inputdate.html">InputDate</a> control.</p>
								</div>
								<p>Use the <b>wj-input-date</b> directive to add <a href="wijmo_input.inputdate.html">InputDate</a> controls to your
									AngularJS applications.
									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 an InputDate control:&lt;/p&gt;
&lt;wj-input-date
  value="theDate"
  format="M/d/yyyy"&gt;
&lt;/wj-input-date&gt;</pre>
								<p>The example below shows a <b>Date</b> value (that includes date and time information)
									using an <a href="wijmo_input.inputdate.html">InputDate</a> and an <a href="wijmo_input.inputtime.html">InputTime</a> control. Notice how both controls
									are bound to the same controller variable, and each edits the appropriate information
									(either date or time). The example also shows a <a href="wijmo_input.calendar.html">Calendar</a> control that can be
								used to select the date with a single click.</p>
								<p><a href="https://jsfiddle.net/Wijmo5/46PhD/" target="_blank">Example</a></p>
								<p>The <b>wj-input-date</b> directive supports the following attributes:</p>
								<dl class="dl-horizontal">
									<dt>ng-model</dt>      <dd><code>@</code> Binds the control's <b>value</b> property using the ng-model Angular
										directive. Binding the property using the ng-model directive provides standard benefits
										like validation, adding the control's state to the form instance, and so on. To redefine
										properties on a control that is bound by the ng-model directive, use the wj-model-property
									attribute.</dd>
									<dt>wj-model-property</dt>  <dd><code>@</code> Specifies a control property that is bound to a scope using the <b>ng-model</b> directive.</dd>
									<dt>control</dt>            <dd><code>=</code> A reference to the <a href="wijmo_input.inputdate.html">InputDate</a> control created by this directive.</dd>
									<dt>format</dt>             <dd><code>@</code> The format used to display the date being edited (see <a href="wijmo.globalize.html">Globalize</a>).</dd>
									<dt>mask</dt>               <dd><code>@</code> The mask used to validate the input as the user types (see <a href="wijmo_input.inputmask.html">wijmo.input.InputMask</a>).</dd>
									<dt>is-dropped-down</dt>    <dd><code>@</code> A value indicating whether the drop-down is currently visible.</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>max</dt>                <dd><code>@</code> The latest valid date (a string in the format "yyyy-MM-dd").</dd>
									<dt>min</dt>                <dd><code>@</code> The earliest valid date (a string in the format "yyyy-MM-dd").</dd>
									<dt>placeholder</dt>        <dd><code>@</code> The string to show as a hint when the control is empty.</dd>
									<dt>is-required</dt>        <dd><code>@</code> A value indicating whether to prevent null values.</dd>
									<dt>show-drop-down-button</dt><dd><code>@</code> A value indicating whether the control displays a drop-down button.</dd>
									<dt>text</dt>               <dd><code>=</code> The text to show in the control.</dd>
									<dt>value</dt>              <dd><code>=</code> The date being edited.</dd>
									<dt>got-focus</dt>          <dd><code>&amp;</code> The <a href="wijmo_input.inputdate.html#gotfocus">InputDate.gotFocus</a> event handler.</dd>
									<dt>lost-focus</dt>         <dd><code>&amp;</code> The <a href="wijmo_input.inputdate.html#lostfocus">InputDate.lostFocus</a> event handler.</dd>
									<dt>is-dropped-down-changing</dt> <dd><code>&amp;</code> The <a href="wijmo_input.inputdate.html#isdroppeddownchanging">InputDate.isDroppedDownChanging</a> event handler.</dd>
									<dt>is-dropped-down-changed </dt> <dd><code>&amp;</code> The <a href="wijmo_input.inputdate.html#isdroppeddownchanged">InputDate.isDroppedDownChanged</a> event handler.</dd>
									<dt>text-changed</dt>       <dd><code>&amp;</code> The <a href="wijmo_input.inputdate.html#textchanged">InputDate.textChanged</a> event handler.</dd>
									<dt>value-changed</dt>      <dd><code>&amp;</code> The <a href="wijmo_input.inputdate.html#valuechanged">InputDate.valueChanged</a> event handler.</dd>
								</dl>
								<p>If provided, the <b>min</b> and <b>max</b> attributes are strings in the format
									"yyyy-MM-dd". Technically, you can use any full date as defined in the W3C
									<a href="https://tools.ietf.org/html/rfc3339" target="_blank">[RFC 3339]</a>, which is also
								the format used with regular HTML5 input elements.</p>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<span class="tsd-signature-type">WjDropDown</span>
									<ul class="tsd-hierarchy">
										<li>
											<span class="target">WjInputDate</span>
											<ul class="tsd-hierarchy">
												<li>
													<a href="wijmo_angular_input.wjinputdatetime.html" class="tsd-signature-type">WjInputDateTime</a>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
						</section>
					</div>