fix(test): move all test apps

This commit is contained in:
thomas
2023-10-18 10:35:53 +02:00
parent 058c7b04a0
commit 9a151be595
254 changed files with 273 additions and 273 deletions

View File

@@ -0,0 +1,27 @@
import { Component } from '@angular/core';
@Component({
standalone: true,
selector: 'app-root',
template: ` <label for="agree">Agreed</label>
<input
class="ml-2"
id="agree"
type="checkbox"
[value]="check"
(input)="toggleCheck()" />
<button
class="border p-2 rounded-lg ml-10"
[class.bg-gray-500]="!check"
[class.text-white]="!check"
[disabled]="!check">
Submit
</button>`,
})
export class AppComponent {
check = false;
toggleCheck() {
this.check = !this.check;
}
}