VUEProp

Undocumented in source. Be warned that the author may not have intended to support it.

Examples

t {
	auto prop = VUEProp("SomeName");
	assert(VUEProp("SomeName").name == "SomeName");
	assert(VUEProp.name("SomeName").name == "SomeName");
	assert(prop.name("newName").name == "newName");
	assert(prop.types(["aType"]).types == ["aType"]);
	assert(prop.defaultValue("aDefault").defaultValue == "aDefault");
	assert(prop.required(true).required);
	assert(prop.validator("aValidator").validator == "aValidator"

Meta