Skip to content

Commit

Permalink
jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Stalder committed Feb 10, 2020
1 parent 1c06fd5 commit db18a0d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/js-vanilla-tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ var VanillaTools = {

/**
* Add a css class to an element
* @param {object} element - the concerned html element
* @param {HTMLElement} element - the concerned html element
* @param {string} className - the class that will be added
* @static
*/
Expand All @@ -190,7 +190,7 @@ var VanillaTools = {

/**
* Remove a css class of an element
* @param {object} element - the concerned html element
* @param {HTMLElement} element - the concerned html element
* @param {null|string} [className] - the class that will be removed
* @static
*/
Expand All @@ -208,7 +208,7 @@ var VanillaTools = {

/**
* Toggle a css class of an element
* @param {object} element - the concerned html element
* @param {HTMLElement} element - the concerned html element
* @param {string} className - the class that will be added/removed
* @static
*/
Expand Down Expand Up @@ -236,7 +236,7 @@ var VanillaTools = {

/**
* Get element has css class
* @param {object} element - the concerned html element
* @param {HTMLElement} element - the concerned html element
* @param {string} className - the class that will be tested
* @return {boolean}
* @static
Expand All @@ -251,7 +251,7 @@ var VanillaTools = {

/**
* Toggle two class on a element
* @param {object} element - the concerned html element
* @param {HTMLElement} element - the concerned html element
* @param {string} className1 - the first class that will be added/removed
* @param {string} className2 - the second class that will be added/removed
* @static
Expand All @@ -271,7 +271,7 @@ var VanillaTools = {

/**
* Empty the content of an element
* @param {object} element - the concerned html element
* @param {HTMLElement} element - the concerned html element
* @static
*/
emptyElement: function (element) {
Expand Down

0 comments on commit db18a0d

Please sign in to comment.