Skip to content

Commit

Permalink
Merge pull request #84 from github/htmlslotelement-ssr-support
Browse files Browse the repository at this point in the history
HTMLSlotElement needs SSR support
  • Loading branch information
owenniblock authored Feb 29, 2024
2 parents 3996e61 + a9ac510 commit a3949df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tab-container-element.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const HTMLElement = globalThis.HTMLElement || (null as unknown as (typeof window)['HTMLElement'])
const manualSlotsSupported = 'assign' in HTMLSlotElement.prototype
const manualSlotsSupported = 'assign' in (globalThis.HTMLSlotElement?.prototype || {})

export class TabContainerChangeEvent extends Event {
constructor(type: string, {tab, panel, ...init}: EventInit & {tab?: Element; panel?: Element}) {
Expand Down

0 comments on commit a3949df

Please sign in to comment.