import { Component } from '@angular/core'; @Component({ selector: 'handsontable-section', template: `









` }) export class HandsontableSectionComponent { currentHeading:string = 'Basic'; select(e) { if (e.heading) { this.currentHeading = e.heading; } } } function escape(text: string): string { return text.replace(/{/g, '{').replace(/}/g, '}'); }