[+] Add jsdocs

This commit is contained in:
Hykilpikonna
2019-12-23 11:22:50 -05:00
parent c7ad887cde
commit 526c2c5a37
+6
View File
@@ -10,6 +10,12 @@ export default class Responsive
this.margin = margin;
}
/**
* Get the maximum number of blocks on screen so that each block's
* width > minWidth.
*
* @param currentWidth
*/
getNumberOnScreen(currentWidth: number)
{
// Screen too small