/
githubmirror
/
fullPage.js
Обзор
Документация
Войти
/
githubmirror
/
fullPage.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/js/dom/addInternalSelectors.js
15 строк
500 B
Alvaro Trigo López
- v4 version
16 мар 2022, 21:03
16 мар 2022, 21:03
902c448
Код
Авторство
О чём код?
import * as utils from '../common/utils.js'; import { getOptions, getContainer } from '../common/options.js'; import { SECTION, SLIDE, } from '../common/selectors.js'; /** * Adds internal classes to be able to provide customizable selectors * keeping the link with the style sheet. */ export function addInternalSelectors(){ utils.addClass(utils.$(getOptions().sectionSelector, getContainer()), SECTION); utils.addClass(utils.$(getOptions().slideSelector, getContainer()), SLIDE); }