mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-26 08:13:34 +08:00
refactor(item): add a wrapper for inputs in order to work with item right vertically
closes #5731
This commit is contained in:
@ -44,11 +44,14 @@ import {Label} from '../label/label';
|
||||
template:
|
||||
'<ng-content select="[item-left],ion-checkbox"></ng-content>' +
|
||||
'<div class="item-inner">' +
|
||||
'<ng-content select="ion-label"></ng-content>' +
|
||||
'<ion-label *ngIf="_viewLabel">' +
|
||||
'<ng-content></ng-content>'+
|
||||
'</ion-label>' +
|
||||
'<ng-content select="[item-right],ion-radio,ion-toggle,ion-select,ion-input,ion-textarea"></ng-content>' +
|
||||
'<div class="input-wrapper">' +
|
||||
'<ng-content select="ion-label"></ng-content>' +
|
||||
'<ion-label *ngIf="_viewLabel">' +
|
||||
'<ng-content></ng-content>'+
|
||||
'</ion-label>' +
|
||||
'<ng-content select="ion-select,ion-input,ion-textarea"></ng-content>' +
|
||||
'</div>' +
|
||||
'<ng-content select="[item-right],ion-radio,ion-toggle"></ng-content>' +
|
||||
'</div>' +
|
||||
'<ion-button-effect></ion-button-effect>',
|
||||
host: {
|
||||
|
Reference in New Issue
Block a user