Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

properties template functions #55

Merged
merged 5 commits into from Aug 19, 2015
Merged

Conversation

nirnatan
Copy link
Contributor

No description provided.

@@ -361,6 +361,81 @@ export default function () {
};
```

## properties template functions
In cases you'd like to use a property that accepts a function and return renderable React component.
You should use a **template** tag that will let you do exactly that: `<template prop="propName" arguments="arg1, arg2"/>`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be rt-template

@idok idok merged commit 4ee34d2 into wix-incubator:gh-pages Aug 19, 2015
@brodybits
Copy link

I suspect this can be used to support the same functionality that we would get from the rt-repeat-children feature that was recently proposed.

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

Successfully merging this pull request may close these issues.

None yet

3 participants