ipsos-components
Version:
Material Design components for Angular
26 lines (20 loc) • 544 B
text/typescript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {Component} from '@angular/core';
({
moduleId: module.id,
selector: 'slide-toggle-demo',
templateUrl: 'slide-toggle-demo.html',
styleUrls: ['slide-toggle-demo.css'],
})
export class SlideToggleDemo {
firstToggle: boolean;
onFormSubmit() {
alert(`You submitted the form.`);
}
}