utility apps
Method | Description | Available from version |
---|---|---|
BX.toggle | Assigns value from list to the 'param' parameter. | |
BX.evalGlobal | Executes script in a global scope. | |
processHTML | HTML string parsing with js inserts. | |
BX.namespace | Creates a namespace in BX global scope. | |
BX.showWait/BX.closeWait | Displays or hides the loading visualizer | |
BX.loadCSS | Loads and applies CSS-file. | |
BX.loadScript | Loads and executes the script. | |
BX.util | Collection of utility functions. | |
BX.util.hex2rgb( color // #fdf9e5 => {r=253, g=249, b=229} ); | Highlights numerical values of its color components in the color description in the #RRGGBB format. Examples of useconsole.log(BX.util.hex2rgb('#EEBBFF')) ответ Object { r=238, g=187, b=255} | |
BX.getCookie | Returns the cookie value with the 'name'. | |
BX.setCookie | Sets up a cookie. | |
BX.Recorder | Class to write and encode the sound. | |
BX.parseJSON | Returns the passed string as JSON-object. |
© «Bitrix24», 2001-2024