This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tabs('.fk-tabs', '.fk-tabs-list', '.fk-tab-item'); | |
/** | |
* Tabs | |
* | |
* @example | |
* tabs('.tabs', '.tabs-list', '.tab-item'); | |
* @param {(string|Object)} container - main container for tabs | |
* @param {(string|Object)} list - ul list for each tab item | |
* @param {(string|Object)} item - tab block for each li item |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Viewport Height 100 percent | |
* | |
* @param {string} element | |
* @returns {void} | |
*/ | |
const vh100 = (element) => { | |
const w = $(window); | |
const el = $(element); |
OlderNewer