PageSourceSearch

https://www.nycpba.org/wp-content/themes/nycpba/assets/js/custom/03-animation.js?ver=6ab4e8c7390af

js nycpba.org collected 2026-09-24 09:41:54 UTC 962 bytes, 36 lines download raw bytes

1(function (app) {
2    "use strict";
3    var $ = jQuery.noConflict();
4    var Animation = function () { };
5
6    Animation.prototype.init = function () {
7        Animation.prototype.handleNav();
8    };
9
10    Animation.prototype.handleNav = function () {
11        const nav = $("nav");
12        const levelOne = nav.find(".level-one");
13        if (!nav.length) return;
14
15        window.openNavGroup = function (target) {
16            const container = $(target).find(".nav-items-container");
17            container.css({
18                display: "flex"
19            }).animate({ opacity: 1 }, 300);
20        }
21        window.closeNavGroup = function (target) {
22            const container = $(target).find(".nav-items-container");
23            container.css({
24                display: "none",
25                opacity: 0
26            })
27        }
28
29    };
30
31    app.Animation = Animation;
32
33    app.ready(function () {
34        Animation.prototype.init();
35    });
36})(window.app);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.