knockout.js - Does Knockout have a separator template? -


when binding this:

<div data-bind='template: { name: "persontemplate",                             foreach: someobservablearrayofpeople }'>  </div> 

is possible specify sort of separator template, similar separator template in classic asp.net?

there not way specify separator template.

however, think there few options:

  • include content in "persontemplate"
  • use wrapper template renders persontemplate , separatortemplate , point template binding (that way reuse separator template, if necessary)
  • use afterrender option of template binding insert content.

Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -