Skip to content

allow binding handlers to pre-process bindings #18

@mbest

Description

@mbest

insertPropertyAccessors already does some pre-processing, but it may make sense to move this to the binding handlers. They would have a function that takes a value string and returns a new value string.

I was thinking of this in the context of SteveSanderson/knockout/knockout#388 where it would be cool to be able to have something like foreach: $wizardStep in steps that would be translated to foreach: {data: steps, itemName: '$wizardStep'}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions