public class IFormController extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<Boolean> |
$dirty |
Objs.Property<Object> |
$error |
Objs.Property<Boolean> |
$invalid |
Objs.Property<Object> |
$pending |
Objs.Property<Boolean> |
$pristine |
Objs.Property<Boolean> |
$submitted |
Objs.Property<Boolean> |
$valid |
Modifier | Constructor and Description |
---|---|
protected |
IFormController(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
void |
$addControl(INgModelController control) |
static IFormController |
$as(Object obj) |
void |
$commitViewValue() |
Boolean |
$dirty() |
Object |
$get(String name)
Indexer which should return ng.INgModelController for most properties but cannot because of "All named properties must be assignable to string indexer type" constraint - see https://github.com/Microsoft/TypeScript/issues/272
|
Boolean |
$invalid() |
Boolean |
$pristine() |
void |
$removeControl(INgModelController control) |
void |
$rollbackViewValue() |
void |
$setDirty() |
void |
$setPristine() |
void |
$setSubmitted() |
void |
$setUntouched() |
void |
$setValidity(String validationErrorKey,
Boolean isValid,
INgModelController control) |
Boolean |
$submitted() |
Boolean |
$valid() |
$as, $cast, $delete, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<Boolean> $pristine
public Objs.Property<Boolean> $dirty
public Objs.Property<Boolean> $valid
public Objs.Property<Boolean> $invalid
public Objs.Property<Boolean> $submitted
public Objs.Property<Object> $error
public Objs.Property<Object> $pending
protected IFormController(Objs.Constructor<?> c, Object js)
public static IFormController $as(Object obj)
public Object $get(String name)
public Boolean $pristine()
public Boolean $dirty()
public Boolean $valid()
public Boolean $invalid()
public Boolean $submitted()
public void $addControl(INgModelController control)
public void $commitViewValue()
public void $removeControl(INgModelController control)
public void $rollbackViewValue()
public void $setDirty()
public void $setPristine()
public void $setSubmitted()
public void $setUntouched()
public void $setValidity(String validationErrorKey, Boolean isValid, INgModelController control)
Copyright © 2018. All rights reserved.