All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.src.slot-styles-mixin.d.ts Maven / Gradle / Ivy

There is a newer version: 24.5.3
Show newest version
/**
 * @license
 * Copyright (c) 2021 - 2024 Vaadin Ltd.
 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
 */
import type { Constructor } from '@open-wc/dedupe-mixin';

/**
 * Mixin to insert styles into the outer scope to handle slotted components.
 * This is useful e.g. to hide native `` controls.
 */
export declare function SlotStylesMixin>(
  base: T,
): Constructor & T;

export declare class SlotStylesMixinClass {
  /**
   * List of styles to insert into root.
   */
  protected readonly slotStyles: string[];
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy