Added docs for js
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
|
||||
|
||||
/**
|
||||
* Function that updates list of tools depending on chosen category
|
||||
*
|
||||
* @function
|
||||
* @name changeActiveTools
|
||||
* @kind function
|
||||
* @param {any} activeClass class of elements that have to be shown
|
||||
* @param {any} activeCategoryButton class of category button that has to be active
|
||||
*/
|
||||
function changeActiveTools(activeClass, activeCategoryButton) {
|
||||
let tools = document.getElementById("toolList").children
|
||||
|
||||
|
||||
Reference in New Issue
Block a user