taffy-coustom-ui
Version:
14 lines (11 loc) • 411 B
text/typescript
import { Component, ViewChild, ElementRef } from '@angular/core';
({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent {
('HorizontalDiv', { static: false }) HorizontalDiv: ElementRef;
valueChanged(event: any): void {
this.HorizontalDiv.nativeElement.innerText = 'Horizontal (' + parseInt(event.currentValue) + ')';
};
}