1.0.7 • Published 2 years ago
role-base-control-lib v1.0.7
transition-element-property-helper
Simple plugin for test transition property for site styles. The test results appear in the console.
Table of contents
One file with all the functionality of the plugin
./index.jsOne minified file with all the functionality of the plugin
<script src="src/transition-element-property-helper.min.js"></script>Installation
npm i role-base-control-libStart Plugin
new checkPermission("userName" , "permissionTitle").start();Functions
Function that starts the user permission test when the checkPermission function starts
new checkPermission("userName" , "permissionTitle").start();The result of the plugin
Console
Start
Success response : permission checked : permission title,
Bad response : You have not that permission