New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

backdropper

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backdropper

Polyfill for backdrop-filter

0.1.0
Source
npm
Version published
Weekly downloads
28
180%
Maintainers
1
Weekly downloads
 
Created
Source

Backdropper

A Polyfill for backdrop-filter

Overview

Dropper lets allows you to use the until-now unsupported CSS-Property backdrop-filter. It works with scrolling. It is implemented using custom elements.

Used technologies

  • Typescript
  • CustomElements
  • ShadowDOM for encapsulation
  • LitElement as base class for CustomElement

Usage

Simply use the backdrop-filter CSS-Property with the same values as in the normal filter-property. Then, import the polyfill as seen in index.html and execute the function.

Features

Currently done
  • backdrop-filter for <style>-Tags
  • CustomElement
  • Scroll support
  • Resize Support
Coming
  • Support for external stylesheets

  • Support for WebComponents (ShadowDom + Style encapsulation)

Try

Currenty, this package is in early development. It will be published to npm. At the moment you have to clone this repository and compile the .ts-files. You have to serve it through polymer-cli with npm run dev. You can try this polyfill out in the index.html.

TODOs

  • Adding 'Coming'-Features
  • Demo site
  • CI-Setup

FAQs

Package last updated on 05 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts