My favorites | English | Sign in

Faster JavaScript with Closure Tools New!

Documentation for the requested version is not available.Documentation for the requested diff is not available.

SearchBoxStyle

Link to this version

SearchBoxStyle encapsulates the information about the style of the search ads.

Fields

backgroundColor string
The background color of the ads.
isButtonBelow boolean
Determines whether the button is below the query textbox or on the side. Set to true for the button below textbox.
isCustomStyle boolean
Determines whether the searchStyleName is built in or custom. Set to true if the style specified in searchStyleName is custom style.
isLogoAbove boolean
Determines whether the logo is above the query textbox or on the side. Set to true for Google logo above textbox.
logoType LogoType
Type of logo, describe the logo appearances on the search ads.

Values are:

  • GoogleLogo - Google logo appears in the search ads
  • GoogleButton - No Google logo in the search ads, but word 'Google' appear in the button.

searchStyleName string
The name of the built-in search style: Blue Sky, Candy Cane, Green Dream, Neutral Blend, Orange Juice, or Seaside.
textBoxLength int
The length of the textbox query. If the length is not within range then it will be change so that it is in range.
textColor string
The text color of the domains in the Google site search. Can only be white or black.