# Wijmo_Angular_Input.Wjinputdatetime

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								WjInputDateTime Class
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>AngularJS directive for the <a href="wijmo_input.inputdatetime.html">InputDateTime</a> control.</p>
								</div>
								<p>Use the <b>wj-input-date-time</b> directive to add <a href="wijmo_input.inputdatetime.html">InputDateTime</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 InputDateTime control:&lt;/p&gt;
&lt;wj-input-date-time
  value="theDate"
  format="M/d/yyyy"&gt;
&lt;/wj-input-date-time&gt;</pre>
								<p>The <b>wj-input-date-time</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>timeMax</dt>            <dd><code>@</code> The earliest valid time (a string in the format "hh:mm").</dd>
									<dt>timeMin</dt>            <dd><code>@</code> The latest valid time (a string in the format "hh:mm").</dd>
									<dt>timeStep</dt>           <dd><code>@</code> The number of minutes between entries in the drop-down list.</dd>
									<dt>timeFormat</dt>         <dd><code>@</code> The format sting used to show values in the time drop-down list.</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.inputdatetime.html#gotfocus">InputDateTime.gotFocus</a> event handler.</dd>
									<dt>lost-focus</dt>         <dd><code>&amp;</code> The <a href="wijmo_input.inputdatetime.html#lostfocus">InputDateTime.lostFocus</a> event handler.</dd>
									<dt>is-dropped-down-changing</dt> <dd><code>&amp;</code> The <a href="wijmo_input.inputdatetime.html#isdroppeddownchanging">InputDateTime.isDroppedDownChanging</a> event handler.</dd>
									<dt>is-dropped-down-changed </dt> <dd><code>&amp;</code> The <a href="wijmo_input.inputdatetime.html#isdroppeddownchanged">InputDateTime.isDroppedDownChanged</a> event handler.</dd>
									<dt>text-changed</dt>       <dd><code>&amp;</code> The <a href="wijmo_input.inputdatetime.html#textchanged">InputDateTime.textChanged</a> event handler.</dd>
									<dt>value-changed</dt>      <dd><code>&amp;</code> The <a href="wijmo_input.inputdatetime.html#valuechanged">InputDateTime.valueChanged</a> event handler.</dd>
								</dl>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<a href="wijmo_angular_input.wjinputdate.html" class="tsd-signature-type">WjInputDate</a>
									<ul class="tsd-hierarchy">
										<li>
											<span class="target">WjInputDateTime</span>
										</li>
									</ul>
								</li>
							</ul>
						</section>
					</div>