Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for querySelector (0.17 sec)

  1. docs/en/docs/js/custom.js

    const div = document.querySelector('.github-topic-projects')
    
    async function getDataBatch(page) {
        const response = await fetch(`https://api.github.com/search/repositories?q=topic:fastapi&per_page=100&page=${page}`, { headers: { Accept: 'application/vnd.github.mercy-preview+json' } })
        const data = await response.json()
        return data
    }
    
    async function getData() {
        let page = 1
        let data = []
        let dataBatch = await getDataBatch(page)
    JavaScript
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 08 17:50:56 GMT 2021
    - 6.6K bytes
    - Viewed (0)
  2. docs/en/docs/js/termynal.js

         * @param {boolean} options.noInit - Don't initialise the animation.
         */
        constructor(container = '#termynal', options = {}) {
            this.container = (typeof container === 'string') ? document.querySelector(container) : container;
            this.pfx = `data-${options.prefix || 'ty'}`;
            this.originalStartDelay = this.startDelay = options.startDelay
    JavaScript
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.3K bytes
    - Viewed (0)
Back to top