@carbon/ibm-products-web-components
Version:
Carbon for IBM Products Web Components
49 lines • 1.49 kB
TypeScript
/**
* @license
*
* Copyright IBM Corp. 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import { LitElement } from 'lit';
import '@carbon/web-components/es/components/button/index.js';
export declare const blockClass = "c4p--guidebanner";
declare const CDSGuideBanner_base: {
new (...args: any[]): {
_handles: Set<import("@carbon/web-components/es/globals/internal/handle").default>;
connectedCallback(): void;
disconnectedCallback(): void;
};
_hostListeners: {
[listenerName: string]: {
[type: string]: {
options?: boolean | AddEventListenerOptions;
};
};
};
} & typeof LitElement;
/**
* GuideBanner.
*
* @element c4p-guide-banner
* @csspart guide-banner
* @fires c4p-guide-banner-toggle Custom event fired when banner is opened
* @fires c4p-guide-banner-close Custom event fired when banner is closed
* */
declare class CDSGuideBanner extends CDSGuideBanner_base {
collapseText?: string;
expandText?: string;
open: boolean;
titleText?: string;
static get eventToggle(): string;
static get eventOnClose(): string;
private _handleClose;
private _handleToggle;
private _getTitle;
private _getButton;
render(): import("lit-html").TemplateResult<1>;
static styles: any;
}
export default CDSGuideBanner;
//# sourceMappingURL=guide-banner.d.ts.map