Improve this Doc View Source ModelOptions

From Get docs
< Type components in ngAngularjs/docs/1.8/api/ng/type/modeloptions


Improve this Doc View Source ModelOptions

  1. type in module ng

Overview

A container for the options set by the ngModelOptions directive


Methods

  • === getOption(name); ===

    Returns the value of the given option

    Parameters

    Param Type Details
    name string

    the name of the option to retrieve

    Returns

    *

    the value of the option

  • === createChild(options); ===

    Parameters

    Param Type Details
    options Object

    a hash of options for the new child that will override the parent's options

    Returns

    ModelOptions

    a new ModelOptions object initialized with the given options.


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 3.0.
https://code.angularjs.org/1.8.2/docs/api/ng/type/ModelOptions