{"size": 399, "ext": "js", "max_stars_repo_path": "src/07-utilities/docs/scrolling.js", "max_stars_repo_name": "ctoutountzidis/showcar-ui", "max_stars_repo_stars_event_min_datetime": "2016-04-17T15:38:29.000Z", "max_stars_repo_stars_event_max_datetime": "2021-07-16T14:13:19.000Z", "max_issues_repo_path": "src/07-utilities/docs/scrolling.js", "max_issues_repo_name": "ctoutountzidis/showcar-ui", "max_issues_repo_issues_event_min_datetime": "2016-03-22T15:50:38.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-22T08:06:32.000Z", "max_forks_repo_path": "src/07-utilities/docs/scrolling.js", "max_forks_repo_name": "ctoutountzidis/showcar-ui", "max_forks_repo_forks_event_min_datetime": "2016-03-30T06:39:12.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-28T10:39:24.000Z"}
{"max_stars_count": 8, "max_issues_count": 24, "max_forks_count": 36, "avg_line_length": 28.5, "max_line_length": 69, "alphanum_fraction": 0.7318295739}
// In case you want to trigger the smooth scrolling via JS
import { smoothScroll } from '07-utilities/scroll.js';

const target = document.querySelector('#target');
const duration = 300 //default

// Default call
smoothScroll(target, duration);

// Or add a callback for additional handling (like in spy navigation)
smoothScroll(target, duration, () => {
    // Your OPTIONAL callback code here
});
