Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1717

Support dymic template

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 8.0.0
    • Component/s: None
    • Labels:
      None

      Description

      For now, only children bind support

      <div children="@load(vm.elements)@template(each.span?'span': 'div')" >
          <template name="div">
              <div/>
          </template>
          <template name="span">
              <span/>
          </template>
      </div>
      

      is it possible to check single object?

      <div content="@template(vm.element.span?'span': 'div')" >
          <template name="div">
              <div/>
          </template>
          <template name="span">
              <span/>
          </template>
      </div>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jimmyshiau jimmyshiau
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: