igniteui-webcomponents
Version:
Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.
34 lines • 1.04 kB
JavaScript
import { html, LitElement } from 'lit';
import { addThemingController } from '../../theming/theming-controller.js';
import { registerComponent } from '../common/definitions/register.js';
import { styles } from './themes/navbar.base.css.js';
import { styles as shared } from './themes/shared/navbar.common.css.js';
import { all } from './themes/themes.js';
class IgcNavbarComponent extends LitElement {
static register() {
registerComponent(IgcNavbarComponent);
}
constructor() {
super();
addThemingController(this, all);
}
render() {
return html `
<div part="base">
<span part="start">
<slot name="start"></slot>
</span>
<span part="middle">
<slot></slot>
</span>
<span part="end">
<slot name="end"></slot>
</span>
</div>
`;
}
}
IgcNavbarComponent.tagName = 'igc-navbar';
IgcNavbarComponent.styles = [styles, shared];
export default IgcNavbarComponent;
//# sourceMappingURL=navbar.js.map