/** * Copyright (c) Cisco Systems, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import "../icon/Icon"; import { LitElement } from "lit"; export declare namespace Grabber { const ELEMENT_base: import("../../mixins/FocusMixin").FocusMixinReturnType; export class ELEMENT extends ELEMENT_base { /** * aria label of unchecked grabber */ label: string; /** * aria label of checked grabber */ checkedLabel: string; /** * If true, the grabber is hovered. grabber-hover-changed event is dispatched on hover change */ hovered: boolean; /** * If true, the grabber is disabled */ disabled: boolean; /** * If true, the grabber is checked */ checked: boolean; /** * If true, the grabber is visible. Grabber will also be visible if it is focused */ visible: boolean; /** * True when grabber has keyboard focus */ focused: boolean; /** * By default clicking the grabber toggles the checked state and fires an event. * Setting this attribute will prevent the checked state from being toggled */ disableClickToggle: boolean; /** * Alignment that says if the `md-grabber` is being used for leading, trailing, top or bottom * * Default: leading */ alignment: "leading" | "trailing" | "top" | "bottom"; /** * Update the icon and icon size for dragger type * * Default: false */ dragger: boolean; /** * Update the icon and icon size for dragger type * * Default: false */ shadow: boolean; connectedCallback(): void; disconnectedCallback(): void; static get styles(): import("lit").CSSResult[]; toggleGrabber(): void; handleMouseDown(): void; handleKeyDown(e: KeyboardEvent): void; handleMouseEnter(): void; handleMouseLeave(): void; handleFocus(): void; handleBlur(): void; dispatchHoverEvent(): void; get currentLabel(): string; get collapsed(): boolean; get grabberClassMap(): { [x: string]: boolean | "leading" | "trailing" | "top" | "bottom"; "md-grabber--active": boolean; "md-grabber--disabled": boolean; "md-grabber--dragger": boolean; visible: boolean; "md-grabber--rtl": boolean; }; private get grabberContainerClassMap(); private get isRtl(); get iconName(): "arrow-up-bold" | "arrow-down-bold" | "list-menu-bold" | "arrow-right-bold" | "arrow-left-bold"; get iconSize(): "10" | "12"; render(): import("lit-html").TemplateResult<1>; } export {}; } declare global { interface HTMLElementTagNameMap { "md-grabber": Grabber.ELEMENT; } }