本文整理匯總了TypeScript中angularfire2.FirebaseListObservable.remove方法的典型用法代碼示例。如果您正苦於以下問題:TypeScript FirebaseListObservable.remove方法的具體用法?TypeScript FirebaseListObservable.remove怎麽用?TypeScript FirebaseListObservable.remove使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類angularfire2.FirebaseListObservable
的用法示例。
在下文中一共展示了FirebaseListObservable.remove方法的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1: reject
reject(submission) {
let key = submission.$key;
this.submissions.remove(key);
}
示例2: deleteItem
deleteItem(key: string) {
this.items.remove(key);
}
示例3: deleteBusiness
deleteBusiness(key){
console.log(key);
return this.businesses.remove(key);
}
示例4: deleteMessages
deleteMessages(): void {
this.messages.remove();
}
示例5: deletePhoto
deletePhoto(photoKey: string) {
this.photos.remove(photoKey);
}
示例6: delete
delete(key: string){
this.entidades.remove(key);
}
示例7: deleteItem
deleteItem(keyItem: string) {
this.items.remove(keyItem);
}
示例8: remove
public remove(item: TodoItem) {
this.todos.remove(item.$key);
}
示例9: removeTask
/**
*
* @param taskId
*/
removeTask(taskId: string) { this.tasksObservable.remove(taskId); }
示例10: deleteTodo
deleteTodo(key: string){
if(confirm("U sure u want to delete " + key + " ?")){
this.todos.remove(key)
}
}