obsidian-meta-bind-plugin icon indicating copy to clipboard operation
obsidian-meta-bind-plugin copied to clipboard

update js view bindings to use format of bind targets

Open Shyclops opened this issue 9 months ago • 2 comments

Is your Feature Request Related to a Problem?

I can't run javascript code that targets another notes metadata in a meta-bind-js-view

Describe the Feature you'd Like

I would like the data-view-js-view binding section of the plugin to accept and use the binding format specified on the binding targets page

An example would be

{NOTE_A#PROPERTY_1} as prop1
---

return prop1

Additional Context

No response

Shyclops avatar May 08 '24 05:05 Shyclops

It already works that way.

mProjectsCode avatar May 08 '24 09:05 mProjectsCode

aaah i see my trouble comes from the fact that i'm referencing a variable for my page

so an example of what i'm doing would be

PageB

NOTE_LINK = [[PageA]]

{NOTE_LINK} as note
{note#PROPERTY_!} as prop1
---

return prop1

Shyclops avatar May 10 '24 14:05 Shyclops

see the advanced use case section in the docs

mProjectsCode avatar May 15 '24 13:05 mProjectsCode

Neither of the advanced samples returns the value stored which I need as I have some logic that I would like too check against the valu dynamically.

-------- Original Message -------- On 5/15/24 9:48 AM, Moritz Jung wrote:

see the advanced use case section in the docs —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID:

DuckDuckGo removed one tracker. More

Deactivate

see the advanced use case section in the docs

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Shyclops avatar May 15 '24 17:05 Shyclops