What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-17 07:27:04
how to check if a string is an integer javascript
// native returns true if the variable does NOT contain a valid number isNaN(num) // can be wrapped for making simple and readable function isNumeric(num){ return !isNaN(num) } isNumeric(123) // true isNumeric('123') // true isNumeric('1... Add solution -
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 -
Javascript 2021-09-15 20:20:02
react spring transition animations
const [items, set] = useState([...]) const transitions = useTransition(items, item => item.key, { from: { transform: 'translate3d(0,-40px,0)' }, enter: { transform: 'translate3d(0,0px,0)' }, leave: { transform: 'translate3d(0,-40px,0)' }, }) return tra... Add solution -
Other 2021-09-13 15:14:03
instagram svg logo
<svg xmlns="http://www.w3.org/2000/svg" width="132.004" height="132" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient id="b"><stop offset="0" stop-color="... Add solution
Best helpers
Ranking is empty