Introduction
JavaScript library color_picker implements color selection dialog.
/upload/api_help/main/Library call
Connecting library on a page:
\CJSCore::init("color_picker");
When you have your own library, just indicate the dependency.
\CJSCore::RegisterExt("my_lib", array( "js" => "/bitrix/js/mymodule/mylib/mylib.js", "css" => "/bitrix/js/mymodule/mylib/css/mylib.css", "rel" => array("color_picker"), ));
© «Bitrix24», 2001-2024
Up