Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Update Magento binding syntax for template binding #5233

@rani-priya

Description

@rani-priya

Topic clarification/correction request

Topic Link : https://devdocs.magento.com/guides/v2.3/ui_comp_guide/concepts/magento-bindings.html

Description

Issue Reference : magento/magento2#24087
Here Knockout Syntax and Magento Syntax for template binding is wrong. It's not working.

Possible solutions

It should be
Knockout Syntax
<div data-bind="template:{name:'templateUrl',data:{}}"></div>
Magento Syntax
<div template="{name:'templateUrl',data:{}}" ></div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    TechnicalUpdates to the code or processes that alter the technical content of the doc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions