Sha256: 55e0527babff97ab8cd741f115ddb526dec1cb9c8afcd6c18abad4fe0b5506ab

Contents?: true

Size: 842 Bytes

Versions: 10

Compression:

Stored size: 842 Bytes

Contents

// @ts-check

import { setNavigationTree, setNavigationItem } from './modules/nav-expand.js';
import { setClickableBlocks } from './modules/click-blocks.js';
import { addResizedEvent } from './modules/resizing.js';
import { addStickyNavigation } from './modules/nav-sticky.js';
import { addMobileNavigation } from './modules/nav-mobile.js';
import { addIntersectionObserver } from './modules/animation.js';

setNavigationTree('details.sub-nav');
setNavigationItem('.site-nav a', 'current-item')
setClickableBlocks('data-destination');

var resizedEventName = addResizedEvent();

addStickyNavigation('.site-header', '.site-nav', '.site-nav > ul', resizedEventName);
addMobileNavigation('.navigation-icon', '.site-nav', resizedEventName);
addIntersectionObserver('.post-list .list-item, main img, main .note, main blockquote');

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fenton-jekyll-boilerplate-0.0.11 assets/js/main.js
fenton-jekyll-boilerplate-0.0.10 assets/js/main.js
fenton-jekyll-boilerplate-0.0.9 assets/js/main.js
fenton-jekyll-boilerplate-0.0.8 assets/js/main.js
fenton-jekyll-boilerplate-0.0.7 assets/js/main.js
fenton-jekyll-boilerplate-0.0.6 assets/js/main.js
fenton-jekyll-boilerplate-0.0.4 assets/js/main.js
fenton-jekyll-boilerplate-0.0.3 assets/js/main.js
fenton-jekyll-boilerplate-0.0.2 assets/js/main.js
fenton-jekyll-boilerplate-0.0.1 assets/js/main.js