This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
public/docs/ts/latest/cookbook Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,51 @@ code-example(language="html" escape="html" format="linenums").
235
235
:marked
236
236
#### Radiobuttons
237
237
238
+ Your component template:
239
+
240
+ + makeExample('cb-a11y/ts/app/form-controls/a11y-radiobuttons.component.html' )
241
+
242
+ :marked
243
+ Used as:
244
+
245
+ + makeExample('cb-a11y/ts/app/form-controls/a11y-form-controls.component.html' ,'cb-a11y-form-controls-radiobuttons-usage' )
246
+
247
+ :marked
248
+ Which is then rendered as:
249
+
250
+ code-example( language ="html" escape ="html" format ="linenums" ) .
251
+ <a11y-radiobuttons >
252
+ <fieldset class =" form-group row" >
253
+ <legend class =" col-xs-12" >
254
+ Choose your favourite Angular 2 language:
255
+ </legend >
256
+ <div class =" radio col-xs-12" >
257
+ <label >
258
+ <input type =" radio" value =" 0" name =" language" >
259
+ TypeScript
260
+ </label >
261
+ </div >
262
+ <div class =" radio col-xs-12" >
263
+ <label >
264
+ <input type =" radio" value =" 1" name =" language" >
265
+ JavaScript
266
+ </label >
267
+ </div >
268
+ <div class =" radio col-xs-12" >
269
+ <label >
270
+ <input type =" radio" value =" 2" name =" language" >
271
+ ES6
272
+ </label >
273
+ </div >
274
+ <div class =" radio col-xs-12" >
275
+ <label >
276
+ <input type =" radio" value =" 3" name =" language" >
277
+ Dart
278
+ </label >
279
+ </div >
280
+ </fieldset >
281
+ </a11y-radiobuttons >
282
+
238
283
:marked
239
284
#### Select lists
240
285
You can’t perform that action at this time.
0 commit comments