Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
664 B
19
Indexable
Never
<div data-sly-use.modelTeste="com.trilha03.core.models.ModelTeste">
    <h2 class="cmp-modelteste__title">Componente Model Teste</h2>
    <div class="cmp-modelteste__item">
        <p class="cmp-modelteste__item-label">Name:</p>
        <pre class="cmp-modelteste__item-output" data-cmp-hook-modelteste="name">${modelTeste.name}</pre>
    </div>
    <div class="cmp-modelteste__item">
        <p class="cmp-modelteste__item-label">Age:</p>
        <pre class="cmp-modelteste__item-output" data-cmp-hook-modelteste="age">${modelTeste.age}</pre>
    </div>

    <!-- Add debug statements -->
    <pre>${modelTeste.name}</pre>
    <pre>${modelTeste.age}</pre>
</div>
Leave a Comment