hyTags
HomeHome DocumentationDocumentation

page-get-country-code

Gets the browser's country code
Parameter
Type
Description
return
string
The country code (e.g., 'US', 'GB', 'DE') or nil if not available
Test Case:Get country code does not throw
    <div></div>
    
    <page-get-country-code>
    <bool-true>
    <assert-true>
    
    👆 Try to change something!
  • Test succeeded Test failed