@pluginjs/feature

0.8.9 • Public • Published

Feature

npm package

feature is a utility JavaScript library for special helper.

Introduction

Installation

Yarn

yarn add @pluginjs/feature

NPM

npm i @pluginjs/feature

Getting Started

CDN:

Development:

<script src="https://unpkg.com/@pluginjs/feature/dist/feature.js"></script>

Production:

<script src="https://unpkg.com/@pluginjs/feature/dist/feature.min.js"></script>

API

prefixedProperty

Parameters

| Name | Type | Description | |||-| | property | String | CSS property |

Returns

| Name | Type | Description | |||-| | prefixResult | String | |

transitionProperty

Returns

| Name | Type | Description | |||-| | prefixResult | String | |

transformProperty

Returns

| Name | Type | Description | |||-| | prefixResult | String | |

animationProperty

Returns

| Name | Type | Description | |||-| | prefixResult | String | |

transform3D

Returns

| Name | Type | Description | |||-| | perspectiveTest | Boolean | |

transform

Returns

| Name | Type | Description | |||-| | transformOriginTest | Boolean | |

transition

Returns

| Name | Type | Description | |||-| | transitionTest | Boolean | |

sticky

Returns

| Name | Type | Description | |||-| | canSticky | Boolean | |

svg

Returns

| Name | Type | Description | |||-| | isSupportedSVG | Boolean | |

touch

Returns

| Name | Type | Description | |||-| | isSupportedTouchEvent | Boolean | |

pointer

Returns

| Name | Type | Description | |||-| | isSupportedPointerEvent | Boolean | |

pointerEvent

Parameters

| Name | Type | Description | |||-| | pointerEvent | String | event name |

Returns

| Name | Type | Description | |||-| | isSupportedPointerEvent | Boolean | |

Browser support

Tested on all major browsers.

IE / EdgeIE / Edge FirefoxFirefox ChromeChrome SafariSafari OperaOpera
IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions

License

@pluginjs/feature is Licensed under the GPL-v3 license.

If you want to use @pluginjs/feature project to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license. With this option, your source code is kept proprietary.

For purchase an Commercial License, contact us purchase@thecreation.co.

Copyright

Copyright (C) 2022 Creation Studio Limited.

Readme

Keywords

none

Package Sidebar

Install

npm i @pluginjs/feature

Homepage

pluginjs.com

Weekly Downloads

2

Version

0.8.9

License

GPL-3.0

Unpacked Size

31.3 kB

Total Files

9

Last publish

Collaborators

  • thecreation
  • kaptinlin