Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getComputedStyle (0.18 sec)

  1. docs/en/docs/js/termynal.js

            /**
             * Calculates width and height of Termynal container.
             * If container is empty and lines are dynamically loaded, defaults to browser `auto` or CSS.
             */
            const containerStyle = getComputedStyle(this.container);
            this.container.style.width = containerStyle.width !== '0px' ?
                containerStyle.width : undefined;
            this.container.style.minHeight = containerStyle.height !== '0px' ?
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 9.3K bytes
    - Viewed (0)
Back to top