UNPKG

@oslokommune/punkt-elements

Version:

Komponentbiblioteket til Punkt, et designsystem laget av Oslo Origo

25 lines (24 loc) 974 B
import { PktInputElement } from '../../base-elements/input-element'; import { Ref } from 'lit/directives/ref.js'; import { ElementProps } from '../../types/typeUtils'; type Props = ElementProps<PktRadioButton, 'checkHelptext' | 'defaultChecked' | 'hasTile' | 'tagText' | 'optionalTag' | 'optionalText' | 'requiredTag' | 'requiredText'>; export declare class PktRadioButton extends PktInputElement<Props> { inputRef: Ref<HTMLInputElement>; value: string; checkHelptext: string | null; defaultChecked: boolean; hasTile: boolean; checked: boolean | string | null; type: string; tagText: string | null; optionalTag: boolean; optionalText: string; requiredTag: boolean; requiredText: string; _checked: boolean; connectedCallback(): void; attributeChangedCallback(name: string, _old: string | null, value: string | null): void; render(): import('lit-html').TemplateResult<1>; private toggleChecked; } export {};