What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-20 00:10:02
ionic reload app
<!-- Custom Refresher Properties --> <ion-content> <ion-refresher slot="fixed" pullFactor="0.5" pullMin="100" pullMax="200"> <ion-refresher-content></ion-refresher-content> <... Add solution -
Javascript 2021-09-19 17:22:05
send multipart form data axios with node js
import React from 'react' import axios, { post } from 'axios'; class SimpleReactFileUpload extends React.Component { constructor(props) { super(props); this.state ={ file:null } this.onFormSubmit = this.onFormSubmit.bind(this) ... Add solution -
TypeScript 2021-09-19 14:35:02
angular unsubscribe example
/* Best practice is to create a base class and move generik handling to it */ import { Subscription, Observable } from 'rxjs'; import { OnDestroy } from '@angular/core'; export abstract class ComponentBase implements OnDestroy { set subs(subscriptio... Add solution -
TypeScript 2021-09-19 06:16:01
ionic modal controller
import { Component } from '@angular/core'; import { ModalController } from '@ionic/angular'; import { ModalPage } from '../modal/modal.page'; @Component({ selector: 'modal-example', templateUrl: 'modal-example.html', styleUrls: ['./modal-example.cs... Add solution -
Javascript 2021-09-18 20:22:07
nestjs typeorm update entity
import { Injectable } from '@nestjs/common'; import { Todo } from './todo.entity'; import { Repository, DeleteResult } from 'typeorm'; import { InjectRepository } from '@nestjs/typeorm'; import { CreateTodoDto } from './todos.dto'; @Injectable() export c... Add solution
Best helpers
Ranking is empty