What do you want to save?
Add Code snippet
New code examples
-
Kotlin 2021-09-16 03:07:02
android vertical seekbar github
import android.content.Context import android.graphics.Canvas import android.util.AttributeSet import android.view.MotionEvent class VerticalSeekBar : androidx.appcompat.widget.AppCompatSeekBar { private var changeListener: OnSeekBarChangeListener? ... Add solution -
TypeScript 2021-09-16 00:53:02
how to pass data to another page in ionic 3
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; @Component({ selector: 'app-details', templateUrl: './details.page.html', styleUrls: ['./details.page.s... Add solution -
Javascript 2021-09-15 19:10:04
react how to pass the input target value
class NameForm extends React.Component { constructor(props) { super(props); this.state = {value: ''}; this.handleChange = this.handleChange.bind(this); } handleChange(event) { this.setState({value: event.target.value}); } rend... Add solution -
TypeScript 2021-09-15 19:02:01
Adding API request
import { Component, OnInit } from '@angular/core';import { HttpClient } from '@angular/common/http';...import { Quote } from '../quote-class/quote';....export class GoalComponent implements OnInit { goals:Goal[]; alertService:AlertServi... Add solution -
TypeScript 2021-09-15 18:29:02
typescript types for state
interface IProps { } interface IState { playOrPause?: string; } class Player extends React.Component<IProps, IState> { // ------------------------------------------^ constructor(props: IProps) { super(props); this.state = { pl... Add solution -
Javascript 2021-09-15 07:36:03
bind an event to dom element angular
import { AfterViewInit, Component, ElementRef} from '@angular/core'; constructor(private elementRef:ElementRef) {} ngAfterViewInit() { this.elementRef.nativeElement.querySelector('my-element') .addEventListener('click',... Add solution
Best helpers
Ranking is empty