• Stars
    star
    16
  • Rank 1,311,141 (Top 26 %)
  • Language
    JavaScript
  • Created almost 10 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Scrolls an HTML element into the browser viewport

More Repositories

1

jsonp

A simple JSONP implementation
JavaScript
1,907
star
2

custom-event

Cross-browser `CustomEvent` constructor
JavaScript
99
star
3

gravatar

client-side gravatar component
JavaScript
68
star
4

mutation-observer

Exposes the native MutationObserver API provided by the browser, or a polyfill based on mutation events. (For compatibility with IE9-10.)
JavaScript
65
star
5

dom-serialize

Serializes any DOM node into a String
JavaScript
36
star
6

blob

A cross-browser Blob that falls back to BlobBuilder when appropriate
JavaScript
30
star
7

urlregexp

Regular expression to match URLs in a body of plain text.
JavaScript
29
star
8

bounding-client-rect

Cross-browser `getBoundingClientRect()` for all Node types
JavaScript
23
star
9

stickyfill

A polyfill for `position: sticky` for browsers that don't support it yet. Essentially a webmodule wrapper for wilddeer/stickyfill.
JavaScript
22
star
10

block-elements

Array of "block level elements" defined by the HTML specification
JavaScript
19
star
11

load-styles

Add a CSS <style> tag to the document's <head> node
JavaScript
11
star
12

node-iterator

A ES6 Generator that traverses the child nodes within the given `Node`
JavaScript
11
star
13

get-document

Returns the `document` object from a DOM object
JavaScript
10
star
14

dom-splice

JavaScript
9
star
15

range-at-index

Returns a Range instance selecting text within an HTML Element, at start and end offsets
JavaScript
8
star
16

range-iterator

ES6 Iterator that iterates over the Nodes of a Range
JavaScript
7
star
17

range-normalize

Cross-browser normalization of DOM Range start and end containers
JavaScript
7
star
18

range-equals

Compare two DOM ranges for equality
Makefile
6
star
19

raf-debounce

JavaScript
6
star
20

get-window

Returns the `window` object from a DOM object
JavaScript
6
star
21

link-command

"createLink" and "unlink" native commands packaged as a Command
JavaScript
5
star
22

dom-move

Move children from one DOM node to another.
JavaScript
5
star
23

unwrap-range

Removes the specified `nodeName` from within or surrounding the given Range
JavaScript
5
star
24

wrap-range

Wraps a DOM Range instance with a new DOM element
JavaScript
5
star
25

babel-base

Base project for use with Babel.
Makefile
4
star
26

node-contains

`Node#contains()` cross browser polyfill
JavaScript
4
star
27

dom-paste

Retrieve the clipboard content as an HTMLElement on a paste event
TypeScript
4
star
28

progress-event

Cross-browser `ProgressEvent` constructor
JavaScript
4
star
29

unwrap-node

Unwraps a given DOM element and returns a Range surrounding its child nodes
JavaScript
4
star
30

selection-is-backward

Returns `true` if the Selection is "backward", `false` otherwise
JavaScript
4
star
31

range-insert-node

Cross-browser polyfill for `Range#insertNode()`
JavaScript
3
star
32

save-range

Uses DOM markers to save a Range's boundaries for loading later
JavaScript
3
star
33

on-full-screen

Cross-browser wrapper for the `onfullscreenchange` event
JavaScript
3
star
34

range-position

Determine where a collapsed Range is positioned relative to a DOM Node
TypeScript
3
star
35

request-full-screen

Cross-browser HTML5 `requestFullscreen`
JavaScript
3
star
36

frozen-range

Store a Range in a non-live representation for later use.
TypeScript
2
star
37

padding-command

Adjusts the padding of the selected paragraphs by a given amount (delta).
JavaScript
2
star
38

indent-command

Command implementation for cross-browser normalization of the "indent" command
JavaScript
2
star
39

wrap-command

Command implementation based on `wrap-range` and `unwrap-range`
JavaScript
2
star
40

current-selection

Returns a `Selection` instance from the current document selection
TypeScript
2
star
41

list-command

Command implementation for (un)ordered lists
JavaScript
2
star
42

exit-full-screen

Cross-browser HTML5 `exitFullscreen`
JavaScript
2
star
43

dom-path

Path api for dom nodes
TypeScript
2
star
44

base-url

Returns the "base URL" of the `document`
JavaScript
2
star
45

find-within

Traverses "down" the child nodes hierarchy in order to find a Node within
JavaScript
1
star
46

is-full-screen

Cross-browser HTML5 `isFullscreen`
JavaScript
1
star
47

collapse

Collapses Ranges and Selections in a cross-browser way.
JavaScript
1
star
48

abstract-command

Abstract `Command` base class to make implementing custom commands easier
JavaScript
1
star
49

prepend-child

The inverse of `Element#appendChild()`.
JavaScript
1
star
50

dom-regexp-match

Creates Range instances within an HTML Element that select text matching a RegExp
JavaScript
1
star
51

outdent-command

A Command implementation that removes the nearest BLOCKQUOTE element from the DOM
JavaScript
1
star
52

selection-set-range

Sets the passed in `range` onto the given `selection`, removing any previous selection
TypeScript
1
star
53

header-command

Command implementation for header tags ("h1", "h2", "h3", etc.)
JavaScript
1
star
54

current-range

Returns a `Range` instance from the current document selection
TypeScript
1
star