Nikolay's public fiddles
-
onkeydown = onkeyup = function {}
No-Library (pure JS), HTML, CSS, TypeScript
-
TypeScript
No-Library (pure JS), HTML, CSS, TypeScript
-
preventDefault on keydown
how it all goes to hell...
-
Events keydown, beforeinput, keyup
No-Library (pure JS), HTML, CSS, JavaScript
-
Load data from an external GeoJSON file
Add a GeoJSONSource using a URL and show the data on a map. See the example: https://docs.mapbox.com//mapbox-gl-js/example/external-geojson/
-
Adjust a layer's opacity
Drag the range slider to adjust the opacity of a raster layer on top of a map. See the example: https://docs.mapbox.com//mapbox-gl-js/example/adjust-layer-opacity/
-
Key Reader
Shows you the keycodes of the keys as you type them
-
948r0cdn
jQuery 1.5.2, HTML, CSS, JavaScript
-
3po14nga
No-Library (pure JS), HTML, CSS, JavaScript
-
Keyboard events (keydown/keyup/keypress)
Answer to "javascript listener, “keypress” doesn't detect backspace?" (http://stackoverflow.com/questions/4843472/javascript-listener-keypress-doesnt-detect-backspace/) Single keyclick -------------------- On Chrome: - keydown/keypress/keyup when browser registers a keyboard input (keypress is fired) - keydown/keyup if no keyboard input (tested with alt, shift, backspace, arrow keys) - keydown only for tab? On Firefox - keydown/keypress/keyup when browser registers a keyboard input (keypress is fired) and also for backspace, arrow keys, tab - keydown/keyup for alt, shift The JQuery which returns the charcode when this is not 0, otherwise it returns the keycode. Note that for digits 0,1,..,9 keycode=charcode but this is not true for non-numeric characters. Quote from https://api.jquery.com/keypress/ "Note: as the keypress event isn't covered by any official specification, the actual behavior encountered when using it may differ across browsers, browser versions, and platforms."
-
tiles.ab.info
No-Library (pure JS), HTML, CSS, JavaScript
-
dtveg7c2
No-Library (pure JS), HTML, CSS, JavaScript
-
Basic map with Leaflet.js and OpenStreetMap
Leaflet is an an open-source JavaScript library for mobile-friendly interactive maps http://leafletjs.com/ Here data is provided by OpenStreetMap
-
o0n3r8Lc
No-Library (pure JS), HTML, CSS, JavaScript
-
d7c4vm83
No-Library (pure JS), HTML, CSS, JavaScript
-
Create a draggable Marker
Drag the marker to a new location on a map and populate its coordinates in a display. See the example: https://docs.mapbox.com//mapbox-gl-js/example/drag-a-marker/
-
Граница нижегородской области
No-Library (pure JS), HTML, CSS, JavaScript
-
MOBILE my_features.find(x => x.id === e.features[0].id
No-Library (pure JS), HTML, CSS, JavaScript
-
map.on('touchstart' draw
No-Library (pure JS), HTML, CSS, JavaScript
-
my_features.find(x => x.id === e.features[0].id
No-Library (pure JS), HTML, CSS, JavaScript