@carbon/ibm-products-web-components
Version:
Carbon for IBM Products Web Components
69 lines • 1.98 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/button.js';
import { BEACON_KIND } from './defs';
declare const CDSCoachmarkBeacon_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;
/**
* CoachmarkBeacon.
*
* @element c4p-coachmark-beacon
* @fires c4p-coachmark-beacon-clicked Custom event fired when beacon is clicked
* */
declare class CDSCoachmarkBeacon extends CDSCoachmarkBeacon_base {
/**
* What style of beacon.
* BEACON_KIND is an enum from the Coachmark and can be used for this value.
* @see {@Link BEACON_KIND}
*/
kind?: BEACON_KIND;
/**
* The aria label.
*/
label: string;
/**
* id for the coachmark beacon
*/
id: string;
/**
* specify aria-expanded of beacon
*/
expanded: boolean;
firstUpdated(): void;
connectedCallback(): void;
private _handleClick;
private handleOutsideClick;
disconnectedCallback(): void;
render(): import("lit-html").TemplateResult<1>;
static shadowRootOptions: {
delegatesFocus: boolean;
clonable?: boolean;
customElementRegistry?: CustomElementRegistry | null;
mode: ShadowRootMode;
serializable?: boolean;
slotAssignment?: SlotAssignmentMode;
};
static get beaconClicked(): string;
static styles: any;
}
export default CDSCoachmarkBeacon;
//# sourceMappingURL=coachmark-beacon.d.ts.map