ModelOptions

Improve this Doc View Source ModelOptions

  1. type in module ng

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–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.6.4/docs/api/ng/type/ModelOptions

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部