chondric
Version:
ChondricJS App Framework
20 lines (17 loc) • 473 B
JavaScript
import {Page} from "./page";
export class Section extends Page {
constructor(route, params, options) {
super(route, params, options);
this.isSection = true;
this.subsections = {};
this.isBlockPage = false;
console.log(options);
console.log(this.template);
if (!options.template) {
this.template = require("./section.html");
}
}
controller($scope) {
}
}
Section.isSection = true;