@jupyter/web-components
Version:
A component library for building extensions in Jupyter frontends.
33 lines (32 loc) • 1.82 kB
TypeScript
import { SliderLabel } from '@microsoft/fast-foundation';
import { horizontalSliderLabelStyles, sliderLabelStyles as styles, verticalSliderLabelStyles } from './slider-label.styles.js';
/**
* Slider label class
*
* @public
* @tagname jp-slider-label
*/
declare class JupyterSliderLabel extends SliderLabel {
protected sliderOrientationChanged(): void;
}
/**
* A function that returns a {@link @microsoft/fast-foundation#SliderLabel} registration for configuring the component with a DesignSystem.
* Implements {@link @microsoft/fast-foundation#sliderLabelTemplate}
*
*
* @public
* @remarks
* Generates HTML Element: `<jp-slider-label>`
*/
export declare const jpSliderLabel: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
baseName: string;
baseClass: typeof SliderLabel;
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<SliderLabel, any>, import("@microsoft/fast-foundation").FoundationElementDefinition>;
styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles>;
}> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
baseName: string;
baseClass: typeof SliderLabel;
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<SliderLabel, any>, import("@microsoft/fast-foundation").FoundationElementDefinition>;
styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles>;
}, typeof JupyterSliderLabel>;
export { JupyterSliderLabel as SliderLabel, horizontalSliderLabelStyles, styles as sliderLabelStyles, verticalSliderLabelStyles };