bianco.force-reflow

[![Build Status][ci-image]][ci-url] [![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-url] [![MIT License][license-image]][license-url]


Keywords
es6, es2015
License
MIT
Install
npm install bianco.force-reflow@1.1.0

Documentation

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