horizontal-layoutpackage.src.vaadin-horizontal-layout.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vaadin-webcomponents Show documentation
Show all versions of vaadin-webcomponents Show documentation
Mvnpm composite: Vaadin webcomponents
The newest version!
/**
* @license
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
/**
* `` provides a simple way to horizontally align your HTML elements.
*
* ```
*
* Item 1
* Item 2
*
* ```
*
* ### Built-in Theme Variations
*
* `` supports the following theme variations:
*
* Theme variation | Description
* ---|---
* `theme="margin"` | Applies the default amount of CSS margin for the host element (specified by the theme)
* `theme="padding"` | Applies the default amount of CSS padding for the host element (specified by the theme)
* `theme="spacing"` | Applies the default amount of CSS margin between items (specified by the theme)
*/
declare class HorizontalLayout extends ThemableMixin(ElementMixin(HTMLElement)) {}
declare global {
interface HTMLElementTagNameMap {
'vaadin-horizontal-layout': HorizontalLayout;
}
}
export { HorizontalLayout };