What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-10-02 10:35:03
install tailwind in angular
Step 1 : ng add @ngneat/tailwind Step 2 : mode --> select class Step 3 : Tailwind directives & functions in component styles --> Yes Step 4 : TailwindCSS plugins you want to enable : --> select forms and typography or all of them. Add solution -
Other 2021-09-30 10:01:04
collapse bootstrap navbar on click
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script> <link rel=&... Add solution -
Javascript 2021-09-30 09:38:03
angular two way property binding
/* Two-Way Data Binding - communicates data between the component and the view (bi-directionally) - this is acheived by using the ngModel directive - include `import { FormsModule } from @angular/forms` - syntax: `[(ngModel)]='some value... Add solution -
Javascript 2021-09-30 00:48:02
javascript statement
// STATEMENT: Code that performs actions (generally something that ends in ";" // example: const str = `String assigned to str`; // EXPRESSION: Code that produces a value // example(s): 3 + 4 1991 true && false && false Add solution