@synergy-design-system/angular
Version:
Angular wrappers for the Synergy Design System
33 lines (30 loc) • 1.29 kB
TypeScript
import * as i0 from '@angular/core';
import { ElementRef, NgZone } from '@angular/core';
import { SynRangeTick } from '@synergy-design-system/components';
/**
* @summary Ticks visually improve positioning on range sliders.
* @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-range-tick--docs
* @status stable
*
* @slot - The tick's label
*
* @csspart base - The component's base wrapper.
* @csspart label - The component's label.
* @csspart line - The component's tick line.
*
* @cssproperty --tick-height - The height of the tick marker.
* @cssproperty --tick-label-top - The top offset of the tick label.
*/
declare class SynRangeTickComponent {
nativeElement: SynRangeTick;
private _ngZone;
constructor(e: ElementRef, ngZone: NgZone);
/**
* Whether the tick should be shown as a subdivision.
*/
set subdivision(v: '' | SynRangeTick['subdivision']);
get subdivision(): SynRangeTick['subdivision'];
static ɵfac: i0.ɵɵFactoryDeclaration<SynRangeTickComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SynRangeTickComponent, "syn-range-tick", never, { "subdivision": { "alias": "subdivision"; "required": false; }; }, {}, never, ["*"], true, never>;
}
export { SynRangeTickComponent };