Library: admin.js
Overview
- source: admin.js
Constructors
Namespaces
Functions
parameters
| rootElement | ||
| tagName | ||
| toggleClass | ||
| headingClass | ||
| title |
Get background color of element.
parameters
| HTMLElement | el | element to get the background color from |
returns
| color as an object like {r: XX, g: XX, b: XX} or undefined |
Get text color of element.
parameters
| HTMLElement | el | element to get the text color from |
returns
| color as an object like {r: XX, g: XX, b: XX} or undefined |
Create string representation of RGB color information.
parameters
| Object | rgb | color information like {r: 23.342, g: 12.372, b: 34} |
returns
| string like rgb(23, 12, 34) |
Create RGB color object from hexadecimal string represenation.
parameters
| String | color |
returns
| color as RGB object like {r: XX, g: XX, b: XX} or undefined |
Fade element from current background color to fade color and back.
parameters
| el | ||
| className | ||
| fps | ||
| durationIn | ||
| durationOut |
Fade element from one color to another.
parameters
| el | ||
| fades | ||
| fps | ||
| duration | ||
| stopFunc |
parameters
| theForm | ||
| sessionName | ||
| cookieError |
parameters
| theForm | ||
| fileEdit | ||
| nameField | ||
| typeNo |
Objects