mat-slide-toggle
is an
on/off control that can be toggled via clicking or dragging.
@Input() labelPosition: 'before' | 'after'
Whether the label should appear after or before the slide-toggle. Defaults to 'after'
@Output() change: EventEmitter<MatSlideToggleChange>
An event will be dispatched each time the slide-toggle changes its value.