@synergy-design-system/angular
Version:
Angular wrappers for the Synergy Design System
31 lines (28 loc) • 1.25 kB
TypeScript
import * as i0 from '@angular/core';
import { ElementRef, NgZone } from '@angular/core';
import { SynButtonGroup } from '@synergy-design-system/components';
/**
* @summary Button groups can be used to group related buttons into sections.
* @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-button-group--docs
* @status stable
* @since 2.0
*
* @slot - One or more `<syn-button>` elements to display in the button group.
*
* @csspart base - The component's base wrapper.
*/
declare class SynButtonGroupComponent {
nativeElement: SynButtonGroup;
private _ngZone;
constructor(e: ElementRef, ngZone: NgZone);
/**
* A label to use for the button group.
* This won't be displayed on the screen, but it will be announced by assistive
devices when interacting with the control and is strongly recommended.
*/
set label(v: SynButtonGroup['label']);
get label(): SynButtonGroup['label'];
static ɵfac: i0.ɵɵFactoryDeclaration<SynButtonGroupComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SynButtonGroupComponent, "syn-button-group", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["*"], true, never>;
}
export { SynButtonGroupComponent };