carbon-components-angular
Version:
Next generation components
65 lines (61 loc) • 2.18 kB
TypeScript
/**
*
* carbon-angular v0.0.0 | base-icon-button.component.d.ts
*
* Copyright 2014, 2024 IBM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as i0 from "@angular/core";
/**
* Base button with common input properties for configuring icon button.
* Extend class to inherit @Input meta data
*
* Used by pagination nav icon button, code snippet, etc.
*/
export declare class BaseIconButton {
/**
* Set to `false` to hide caret
*/
caret: boolean;
/**
* Set to `false` to hide shadow
*/
dropShadow: boolean;
/**
* Set to `true` to enable high contrast
*/
highContrast: boolean;
/**
* Set to `true` to have the popover open by default
*/
isOpen: boolean;
/**
* Set popover alignment
*/
align: "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-bottom" | "right-top";
/**
* **Experimental**: Use floating-ui to position the tooltip
* This is not toggleable - should be assigned once
*/
autoAlign: boolean;
/**
* Set delay before tooltip is shown
*/
enterDelayMs: number;
/**
* Set delay when tooltip disappears
*/
leaveDelayMs: number;
static ɵfac: i0.ɵɵFactoryDeclaration<BaseIconButton, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<BaseIconButton, "ng-component", never, { "caret": "caret"; "dropShadow": "dropShadow"; "highContrast": "highContrast"; "isOpen": "isOpen"; "align": "align"; "autoAlign": "autoAlign"; "enterDelayMs": "enterDelayMs"; "leaveDelayMs": "leaveDelayMs"; }, {}, never, never, false>;
}