0.0.1 • Published 5 years ago

@no-repeat/js-tracker v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

js-tracker

js 变量追踪器, 用户在浏览器端追踪 DOM 元素上引用的 Style 样式,基于dom结构上的data-style属性.

NPM version build status Test coverage NPM download

Installation

$ npm install @no-repeat/js-tracker --save

Getting Started

import JsTracker from '@no-repeat/js-tracker';

const tracker = new JsTracker(window);
const node = document.getElementById('demo-item');
const varList = tracker.findVars(node);
0.0.1

5 years ago