1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 import { html } from "../../content/widgets/vendor/lit.all.mjs";
6 import "chrome://global/content/reader/moz-slider.mjs";
9 title: "Domain-specific UI Widgets/Reader View/Slider",
10 component: "moz-slider",
14 fluent: `moz-slider-label =
20 const Template = ({ min, max, value, ticks, labelL10nId, sliderIcon }) => html`
26 tick-labels='["Narrow", "Wide"]'
27 data-l10n-id=${labelL10nId}
28 data-l10n-attrs="label"
29 slider-icon=${sliderIcon}
33 export const Default = Template.bind({});
39 labelL10nId: "moz-slider-label",
40 sliderIcon: "chrome://global/skin/icons/defaultFavicon.svg",