Web Component: j-Permissions
j-Permissions
- NEW now supports darkmode
- NEW can be disabled
- NEW default
type
Configuration:
placeholder
{String} a placeholder forj-Directory
component (default:Search
)types
{String} types of permission (array delimited by comma, default:R,W,RW
)dirsource
{String} a link to method, it is evaluated after user clicks on the headerpk
{String} apk
means primary key, it's used as a prevention for duplicated values (default:name
)- NEW
disabled
{Boolean} optional, disables this component - NEW
default
{String} default value oftype
(default:R
) - NEW
dirraw
{Boolean} optional, disables HTML encoding for text inj-Directory
(default:false
)
Source:
[
{
name: 'Peter',
text: 'Peter <b>admin</b>', // HTML text for rendering (optional)
type: 'R' // must be one of the value from types
}
]
Author
- Peter Širka petersirka@gmail.com
- License
Created
26. july 2019
Updated
01. february 2023
Version
v1
License
https://www.totaljs.com/license/
Dark mode
Yes
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com