slint 1.7.2

GUI toolkit to efficiently develop fluid graphical user interfaces for embedded devices and desktop applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: MIT

// Based on code from stsewd her https://github.com/readthedocs/readthedocs.org/commit/738b6b2836a7e0cadad48e7f407fdeaf7ba7a1d7
*/

$(document).ready(function () {
    const tabName = location.hash.substring(1);
    if (tabName !== null) {
        const tab = $('[data-sync-id~="' + tabName + '"]');
        if (tab.length > 0) {
            tab.click();
        }
    }
});