MCPcopy Index your code
hub / github.com/CreateJS/TweenJS / getStyle

Function getStyle

src/tweenjs/plugins/CSSPlugin.js:229–235  ·  view source on GitHub ↗
(target, prop, compute)

Source from the content-addressed store, hash-verified

227
228// private helper methods:
229 function getStyle(target, prop, compute) {
230 if (compute || (compute == null && s.compute)) {
231 return window.getComputedStyle(target)[prop];
232 } else {
233 return target.style[prop];
234 }
235 }
236
237 function parseTransform(str, compare) {
238 var result, list = [false, str];

Callers 1

CSSPlugin.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected