bianco.force-reflow
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

bianco.force-reflow

Build Status NPM version NPM downloads MIT License

Usage

import forceReflow from 'bianco.force-reflow'

// force the reflow on a single element
forceReflow(document.querySelector('#my-id'))

API

Table of Contents

forceReflow

Force the reflow of one or a list of DOM elements

Parameters

Examples

import forceReflow from 'bianco.force-reflow'

// force reflow on a list of elements
forceReflow(document.querySelectorAll('.list'))

// force reflow on a single element
forceReflow(document.querySelector('.post'))

Returns any the argument received

Readme

Keywords

Package Sidebar

Install

npm i bianco.force-reflow

Weekly Downloads

198

Version

1.1.0

License

MIT

Unpacked Size

5.91 kB

Total Files

6

Last publish

Collaborators

  • gianlucaguarini