mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00
docs(demos): remove attr from docs
This commit is contained in:
@ -66,15 +66,7 @@ export class IdRef {
|
||||
|
||||
|
||||
/**
|
||||
* @name Attr
|
||||
* @description
|
||||
* Attr allows you to dynamically add or remove an attribute based on the value of an expression or variable.
|
||||
* @usage
|
||||
* ```html
|
||||
* // toggle the no-lines attributes based on whether isAndroid is true or false
|
||||
* <ion-list [attr.no-lines]="isAndroid ? '' : null">
|
||||
* ```
|
||||
* @demo /docs/v2/demos/attr/
|
||||
* @private
|
||||
*/
|
||||
@Directive({
|
||||
selector: '[attr]'
|
||||
|
Reference in New Issue
Block a user