What do you want to save?
Add Code snippet
New code examples
-
-
TypeScript 2021-10-15 07:42:08
on button click scroll to div angular
/?css or scss/ html { scroll-behavior: smooth; } /?typescript/ //use ViewportScroller in angular //in constructor private _vps: ViewportScroller //function scrollFn(anchor: string): void{ this._vps.scrollToAnchor(anchor) } /?HTML/ <button (cli... Add solution -
Javascript 2021-10-15 05:03:07
vue js override component css
// in CompA (the parent) <template> ... <!-- Vue provides built-in class and style props for all comps --> <compb class="compb"></compb> </template> <script> ... </script> <style lang=&qu... Add solution -
CSS 2021-10-14 15:20:05
Sass @extend and Inheritance
SCSS Syntax .button-basic { border: none; padding: 15px 30px; text-align: center; font-size: 16px; cursor: pointer; } .button-report { @extend .button-basic; background-color: red; } .button-submit { @extend .button-basic; backgrou... Add solution -
Javascript 2021-10-13 16:52:06
fullcalendar edit event modal react
import React from "react"; import FullCalendar from "@fullcalendar/react"; import dayGridPlugin from "@fullcalendar/daygrid"; import timeGridPlugin from "@fullcalendar/timegrid"; import interact... Add solution -
Other 2021-10-12 14:25:08
vue bulma
vue create appname --preferably vue2 cd appname npm install bulma buefy create a main scss file with source './assets/scss/main.scss' fill that file with the variables you want ,,, see bulma docs for example ,,, import that file in your main.js file:... Add solution