What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-24 09:20:04
method in vue component
<template> <div id="example"> <button v-on:click="greet">Greet</button> </div> </template> <script> export default { methods: { greet: function(event) { // `event` is the n... Add solution -
TypeScript 2022-02-22 21:20:03
mat input datetime-local now
@Component({ selector: 'app', template: `<input type="datetime-local" [value]="date" (change)="date=$event.target.value" /> {{date}}` }) export class AppComponent { date: string; constructor(... Add solution -
Javascript 2022-02-18 09:35:02
reactjs get checkbox value
handleChange(e) { let isChecked = e.target.checked; // do whatever you want with isChecked value } render() { // ... your code here return ( {/* your other jsx here */} <Checkbox otherProps onChange={e => this.handleChange(e)} />... Add solution -
Javascript 2022-02-18 07:00:21
javascript record video in browser
<input type="file" accept="video/*" capture="camera" id="recorder"><video id="player" controls></video><script> var recorder = document.getElementById('recorder'); var p... Add solution -
Other 2022-02-13 19:40:07
React tottural
import React from 'react' import ReactDOM from 'react-dom' import ReactBootstrap from 'react-bootstrap' import { ListGroup } from 'react-bootstrap' import { ListGroupItem } from 'react-bootstrap' import { Panel } from 'react-bootstrap' import { ButtonGrou... Add solution