Skip to content

Commit

Permalink
fix(leaving-ibm): update slot function name
Browse files Browse the repository at this point in the history
ariellalgilmore committed Feb 13, 2024
1 parent 7c2b2cd commit 90403bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
*
* Copyright IBM Corp. 2020, 2023
* Copyright IBM Corp. 2020, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
@@ -40,7 +40,7 @@ class C4DLeavingIbmModal extends StableSelectorMixin(CDSModal) {
*/
@HostListener('shadowRoot:slotchange')
// @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to
private _handleSlotChange = (event: Event) => {
private _handleShadowRootSlotChange = (event: Event) => {
const { selectorHeading } = this.constructor as typeof C4DLeavingIbmModal;
if (!this.hasAttribute('aria-labelledby')) {
const headingNode = (event.target as HTMLSlotElement)

0 comments on commit 90403bd

Please sign in to comment.