JavaScript Reference/Javascript Properties

Материал из Web эксперт
Перейти к: навигация, поиск

"fontSmoothingEnabled" Example

    
<html>
<body>
<script language="JavaScript">
    function function1() {
        alert(screen.fontSmoothingEnabled);
    }
</script>
<button onclick="function1();">Font Smoothing Enabled</button>
</body>
</html>



"fontSmoothingEnabled" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |screen                                                        |
+----------------+--------------------------------------------------------------+



"fontSmoothingEnabled" Possible Values

Possible Values
true 
false.



"fontSmoothingEnabled" Syntax and Note

Note:
Read-only property. 
Does system have font smoothing enabled. 
    
Syntax:
    
screen.fontSmoothingEnabled