Skip to content

Could not parse DOM element properties #21

Open
@tangshuang

Description

@tangshuang

In my case, I give a DOM element to scope, and want to parse out the value property, but not work:

const el = document.querySelector('#input')
const ev = expressions.compile('el.value')
console.log(ev({ el }))

I get undefined, could you please to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions