What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-03 10:24:09
angular disable click
try like this <button [disabled]="isDisabled" (click)="btnClick.emit($event)"> <ng-content></ng-content> </button> @Input() isDisabled: boolean = false; @Output() btnClick = new EventEmitter(); Use Ou... Add solution -
Dart 2021-10-26 03:36:13
implement app rate in flutter
// In this snippet, I'm giving a value to all parameters. // Please note that not all are required (those that are required are marked with the @required annotation). RateMyApp rateMyApp = RateMyApp( preferencesPrefix: 'rateMyApp_', minDays: 7, min... Add solution -
Javascript 2021-10-14 21:21:03
PDF.js Tutorial for beginners
/* This code comes from Vincent Lab And it has a video version linked here: https://www.youtube.com/watch?v=JZHyvG93G2I */ const url = "/dummy.pdf"; (async function () { // Specified the workerSrc property pdfjsLib.GlobalWorke... Add solution -
Javascript 2021-10-04 23:02:03
load more button javascript
$(function(){ $("div").slice(0, 10).show(); // select the first ten $("#load").click(function(e){ // click event for load more e.preventDefault(); $("div:hidden").slice(0, 10).show(); // select next 10... Add solution -
Javascript 2021-09-13 20:34:03
hide component on click vue
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script> <div id="app"> <button v-on:click="isHidden = true">Hide the text below</button> <button v-on:click="isHid... Add solution
Best helpers
Ranking is empty