All files / src/components/zd-main main.ts

100% Statements 7/7
100% Branches 0/0
100% Functions 1/1
100% Lines 7/7

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1793x     93x 2x   2x     2x   2x   2x      
import { ComponentRender } from '../zd-component/component-render';
import { IMain } from './interfaces';
 
export class Main extends ComponentRender implements IMain {
	public scrollable = false;
 
	public tag?: string = 'main';
 
	constructor(props: IMain) {
		super(props);
 
		this.scrollable = this.getInitValue('scrollable', props.scrollable, this.scrollable);
 
		this.tag = this.getInitValue('tag', props.tag, this.tag);
	}
}