[+] Add jsdocs
This commit is contained in:
@@ -10,6 +10,12 @@ export default class Responsive
|
|||||||
this.margin = margin;
|
this.margin = margin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the maximum number of blocks on screen so that each block's
|
||||||
|
* width > minWidth.
|
||||||
|
*
|
||||||
|
* @param currentWidth
|
||||||
|
*/
|
||||||
getNumberOnScreen(currentWidth: number)
|
getNumberOnScreen(currentWidth: number)
|
||||||
{
|
{
|
||||||
// Screen too small
|
// Screen too small
|
||||||
|
|||||||
Reference in New Issue
Block a user