Skip to content

What templating engine does Magento 2 use for it's Javascript widgets #190

@OliverRC

Description

@OliverRC

Is there an existing issue for this?

  • I have searched the existing issues

What's missing?

<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<ul class="items">
<% _.each(breadcrumbs, function(crumb) { %>
    <li class="item <%- crumb.name %>">
        <% if (crumb.link) { %>
        <a href="<%= crumb.link %>" title="<%- crumb.title %>"><%- crumb.label %></a>
        <% } else if (crumb.last) { %>
        <strong><%= crumb.label %></strong>
        <% } else { %>
        <%= crumb.label %>
        <% } %>
    </li>
<% }); %>
</ul>

What templating engine is this, where can we lookup the syntax documentation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🆕 Ready for Grooming

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions