detectPrefix¶
Overview¶
Scans through potential properties on an object to detect prefixed forms, and returns the first match.
E.g. currently: phet.phetCore.detectPrefix( document.createElement( 'div' ).style, 'transform' ) === 'webkitTransform'
@author Jonathan Olson <jonathan.olson@colorado.edu>
Source Code¶
See the source for detectPrefix.ts in the phet-core repository.