- HTML references - http://www.htmlreferences.io
- CSSreferences - http://www.cssreferences.io
- Learn Frameworks - http://www.scotch.io
- Learn Frameworks - http://www.thinkster.io
- W3 Schools - https://www.w3schools.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useState } from "react"; | |
const FocusOutside = ({clickedOutside, ...props})=>{ | |
let _timeoutID; | |
const [IsManagingFocus, setIsManagingFocus] = useState(false); | |
const _onBlur = ()=>{ | |
_timeoutID = setTimeout(() => { |
- Text Content Generator - http://www.lipsum.com
- Favicon Generator - http://tools.dynamicdrive.com/favicon
- Data Generator - https://mockaroo.com/
- Mobile Mockup Generator - https://mockuphone.com
- Logo Generator - https://www.logaster.com
- UUID Generator - https://www.uuidgenerator.net/
- Hash Generator - https://passwordsgenerator.net/sha256-hash-generator/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// takes a {} object and returns a FormData object | |
var objectToFormData = function(obj, form, namespace) { | |
var fd = form || new FormData(); | |
var formKey; | |
for(var property in obj) { | |
if(obj.hasOwnProperty(property)) { | |
if(namespace) { |