What do you want to save?
Add Code snippet
New code examples
-
-
Other 2021-11-10 15:53:09
ionic modal not full screen
// I made this by adding a custom class while presenting modal this.notifyService.presentModal({ component: AwesomeComponent, cssClass: 'small-modal', backdropDismiss: true }); // and than defined the scss/css in global.scss .small-moda... Add solution -
Other 2021-11-09 15:44:19
how to unsubscribe from observable created by http
import { Component, OnInit, OnDestroy } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; interface User { id: string; name: string; age: number; } ... Add solution -
Javascript 2021-11-06 14:26:09
Import in body of module; reorder to top.
you will get this error if you have declared a variable in between your imports, import React from 'react'; import axios from 'axios'; const URL = process.env.REACT_APP_API_BASE; import demoXLXSFile from '../../assets/others/Demo.xlsx'; import './stude... Add solution -
PHP 2021-11-05 05:55:25
laravel webmix scss
mix.sass('resources/sass/app.scss', 'public/css'); Add solution