You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
1.0 KiB

3 years ago
---
Alias: ["Shoppimg Admin"]
Tag: ["Admin"]
Date: 2021-10-25
DocType: "Admin"
Hierarchy: "NonRoot"
TimeStamp:
location:
CollapseMetaTable: Yes
---
Parent:: [[@Shopping list|Shopping list]]
---
 
```button
name Save
type command
action Save current file
id Save
```
^button-ShoppingAdminNSave
 
# Shopping Admin
 
```ad-abstract
title: Summary
collapse: open
Admin to dissociate the reset button from the actual shopping list.
```
 
```toc
style: number
```
 
---
 
### Reset buttons
 
```dataview
const {shoppingFunc} = customJS
shoppingFunc.resetList({app: app, dv: dv, that:this, theme: "to0", listOfIt: "Groceries"})
```
 
```dataview
const {shoppingFunc} = customJS
shoppingFunc.resetList({app: app, dv: dv, that:this, theme: "to0", listOfIt: "Health"})
```
 
```dataview
const {shoppingFunc} = customJS
shoppingFunc.resetList({app: app, dv: dv, that:this, theme: "to0", listOfIt: "Household" })
```
 
---
 
### Header 2
 
Loret ipsum