generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 71
Closed as duplicate of#317
Closed as duplicate of#317
Copy link
Labels
feature requestNew feature or requestNew feature or request
Description
Please fill out these Check-boxes
- I checked for existing similar feature requests
- I have read the docs and checked that the feature I am requesting is not already implemented
- My feature request consists of only one feature
Is your Feature Request related to a Problem or Annoyance?
No.
Describe the Feature you'd like
First off, thank you so much for your work :)
It would be nice to be able to make a button using meta-bind-button and declare some of the variables required for each type when it is called. The use case I've run into so far is restricted to the Update Metadata type.
Following the example on the documentation for the Update Metadata, set up the button.
label: "+1"
hidden: true
id: "count-increment"
style: default
actions:
- type: updateMetadata
bindTarget: p1
evaluate: true
value: "x + 1"
Then declare p1 on the inline call. Something like
BUTTON[count-increment(count)]] maybe?
Extra awesome if it lets you declare the value as well.
Alternatives
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
feature requestNew feature or requestNew feature or request