eBay

Utilities

In an effort to make the example code more concise and readable, several shivs, plugins, and classes were used in the creation of the examples.

JS Shivs

jQuery Plugins

We are slowly transitioning away from jQuery towards vanilla javascript modules (see next section), but if you use jQuery then these are for you:

JS Modules

The following modules require a bundler such as webpack or lasso.

CSS Classes

/* clip element visibility, making it accessible to screen reader only */
.clipped {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}

results matching ""

    No results matching ""