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

BindListCallback #261

Closed
g105b opened this issue Oct 4, 2021 · 0 comments · Fixed by #268
Closed

BindListCallback #261

g105b opened this issue Oct 4, 2021 · 0 comments · Fixed by #268
Assignees
Projects

Comments

@g105b
Copy link
Member

g105b commented Oct 4, 2021

This would be a super useful function:

$binder->bindListCallback($iterable, function($element, $datum) { ... })

Allowing a custom callback function to manipulate the newly-created template element.

@g105b g105b added this to Backlog in Overview Oct 8, 2021
@g105b g105b moved this from Backlog to WIP in Overview Oct 8, 2021
@g105b g105b self-assigned this Oct 8, 2021
g105b added a commit that referenced this issue Oct 10, 2021
@g105b g105b mentioned this issue Oct 11, 2021
g105b added a commit that referenced this issue Oct 12, 2021
Overview automation moved this from WIP to Done October 2021 Oct 12, 2021
g105b added a commit that referenced this issue Oct 12, 2021
* build: upgrade to stable dom release

* test: bind objects in arrays with bindList

* wip: complex test for #261

* feature: bindListCallback allows callback to be called for each list item
closes #261

* feature: expose and test callback functions
closes #261
g105b added a commit that referenced this issue Oct 12, 2021
* build: upgrade to stable dom release

* test: bind objects in arrays with bindList

* wip: complex test for #261

* feature: bindListCallback allows callback to be called for each list item
closes #261

* feature: expose and test callback functions
closes #261

* feature: clean data-bind attributes
closes #253
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Overview
Done October 2021
Development

Successfully merging a pull request may close this issue.

1 participant