Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Make bindings available in conditional expressions #47

Open
MaKleSoft opened this issue Aug 13, 2014 · 1 comment
Open

Make bindings available in conditional expressions #47

MaKleSoft opened this issue Aug 13, 2014 · 1 comment

Comments

@MaKleSoft
Copy link

For the sake of brevity, it would be nice if the bindings done in the bind attribute would be instantly available in any ifexpressions. Like so:

<template bind="{{ user.address.street as street }}" if="{{ street }}>
   {{ street }}
</template>

Similarly

<template bind="{{ user.address }}" if="{{ street }}>
   {{ street }}
</template>

Perhaps the same thing would be useful for repeat expressions.

@MaKleSoft MaKleSoft changed the title Use bindings in conditional expressions Make bindings available in conditional expressions Aug 13, 2014
@jmesserly
Copy link
Contributor

Funny, I suggested the same thing for repeat here: #13 (comment) :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants