ng-ytl-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
20 lines (18 loc) • 456 B
text/typescript
import { Component, HostBinding, ViewEncapsulation } from '@angular/core';
@Component({
selector : 'nz-layout',
encapsulation: ViewEncapsulation.None,
template : `
<ng-content></ng-content>
`,
styleUrls : [
'./style/index.less',
'./style/patch.less'
],
host: {
'[class.ant-layout]': 'true'
}
})
export class NzLayoutComponent {
@HostBinding('class.ant-layout-has-sider') hasSider = false;
}