element-style

0.1.1 • Public • Published

element-style Build Status

Gets/Sets an element style property

Installation

npm install element-style

Usage

var elementStyle = require('element-style')

// Set style
elementStyle(document.body, 'paddingLeft', '15px')

// Get style
elementStyle(document.body, 'paddingLeft')
// => '15px'

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i element-style

Weekly Downloads

68

Version

0.1.1

License

MIT

Last publish

Collaborators

  • kyungw00k