input[radio]

Improve this Doc View Source input[radio]

  1. input in module ng

HTML radio button.

Directive Info

  • This directive executes at priority level 0.

Usage

<input type="radio"
       ng-model=""
       value=""
       [name=""]
       [ng-change=""]
       ng-value="">

Arguments

Param Type Details
ngModel string

Assignable angular expression to data-bind to.

value string

The value to which the expression should be set when selected.

name
(optional)
string

Property name of the form under which the control is published.

ngChange
(optional)
string

Angular expression to be executed when input changes due to user interaction with the input element.

ngValue string

Angular expression which sets the value to which the expression should be set when selected.

© 2010–2016 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.3.20/docs/api/ng/input/input%5Bradio%5D

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部