UNPKG

@jupyter-notebook/web-components

Version:

A component library for building extensions in Jupyter frontends.

28 lines (27 loc) 783 B
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. import { Slider, sliderTemplate as template } from '@microsoft/fast-foundation'; import { sliderStyles as styles } from './slider.styles'; /** * A function that returns a {@link @microsoft/fast-foundation#Slider} registration for configuring the component with a DesignSystem. * Implements {@link @microsoft/fast-foundation#sliderTemplate} * * * @public * @remarks * Generates HTML Element: `<jp-slider>` */ export const jpSlider = Slider.compose({ baseName: 'slider', template, styles, thumb: /* html */ ` <div class="thumb-cursor"></div> ` }); /** * Base class for Slider * @public */ export { Slider }; export { styles as sliderStyles };