一、ion-list
二、方法
1、closeSlidingItems
关掉滑动按钮打开的item
三、输入属性
1、sliding
决定item滑动是否可用
import { Component, ViewChild } from '@angular/core';
import { List } from 'ionic-angular';
@Component({...})
export class MyClass {
@ViewChild(List) list: List;
constructor() { }
stopSliding() {
this.list.enableSlidingItems(false);
}
}