SeparatorComponent

Undocumented in source.
version(unittest)
class SeparatorComponent : HbsComponent!(tplSeparatorComponent) {}

Members

Manifest constants

ComponentName
enum ComponentName;

Variables

value
int value;
Undocumented in source.

Examples

Rendering component with external template at ctfe

struct Controller {
  int[] list = [10,20,30,40,50];
}

enum tpl = `{{test-each-component list=list}}`;
render!(tpl, Controller, TestEachComponent, SeparatorComponent)(Controller()).should.equal("10,20,30,40,50,");

Rendering component with external template at runtime

struct Controller {
  int[] list = [10,20,30,40,50];
}

enum tpl = `{{test-each-component list=list}}`;
render!(Controller, TestEachComponent, SeparatorComponent)(tpl, Controller()).should.equal("10,20,30,40,50,");

Meta