get-style-property

WebJar for get-style-property

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.bower
Идентификатор

Идентификатор

get-style-property
Последняя версия

Последняя версия

1.0.4
Дата

Дата

Тип

Тип

jar
Описание

Описание

get-style-property
WebJar for get-style-property
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/desandro/get-style-property

Скачать get-style-property

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bower/get-style-property/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>get-style-property</artifactId>
    <version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/get-style-property/
implementation 'org.webjars.bower:get-style-property:1.0.4'
// https://jarcasting.com/artifacts/org.webjars.bower/get-style-property/
implementation ("org.webjars.bower:get-style-property:1.0.4")
'org.webjars.bower:get-style-property:jar:1.0.4'
<dependency org="org.webjars.bower" name="get-style-property" rev="1.0.4">
  <artifact name="get-style-property" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='get-style-property', version='1.0.4')
)
libraryDependencies += "org.webjars.bower" % "get-style-property" % "1.0.4"
[org.webjars.bower/get-style-property "1.0.4"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

getStyleProperty - quick & dirty CSS property testing

Original by @kangax 😍 🌟 . See perfectionkills.com/feature-testing-css-properties/

var transformProp = getStyleProperty('transform');
// returns WebkitTransform on Chrome / Safari
// or transform on Firefox, or MozTransform on old firefox

// then you can use it when setting CSS
element.style[ transformProp ] = 'translate( 12px, 34px )';

// or simply check if its supported
var supportsTranforms = !!transformProp;

Install

Bower 🐦 : bower install get-style-property

npm: npm install desandro-get-style-property

Component: component install desandro/get-style-property

MIT License

getStyleProperty is released under the MIT License.

Версии библиотеки

Версия
1.0.4