@jupyter/web-components
Version:
A component library for building extensions in Jupyter frontends.
30 lines (29 loc) • 1.32 kB
TypeScript
import { Checkbox, CheckboxOptions, FoundationElementTemplate } from '@microsoft/fast-foundation';
import { checkboxStyles as styles } from './checkbox.styles.js';
import { ViewTemplate } from '@microsoft/fast-element';
/**
* The template for the {@link @microsoft/fast-foundation#(Checkbox:class)} component.
* @public
*/
export declare const checkboxTemplate: FoundationElementTemplate<ViewTemplate<JupyterCheckbox>, CheckboxOptions>;
/**
* Checkbox class
*
* @public
* @tagname jp-checkbox
*/
declare class JupyterCheckbox extends Checkbox {
indeterminateChanged(prev: boolean, next: boolean): void;
}
/**
* A function that returns a {@link @microsoft/fast-foundation#Checkbox} registration for configuring the component with a DesignSystem.
* Implements {@link @microsoft/fast-foundation#checkboxTemplate}
*
*
* @public
* @remarks
* Generates HTML Element: `<jp-checkbox>`
*/
export declare const jpCheckbox: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<CheckboxOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<CheckboxOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
export { JupyterCheckbox as Checkbox };
export { styles as checkboxStyles };