inputEx Documentation Back to homepage

inputEx Documentation > inputEx.UrlField 0.2.2

Static Class inputEx.UrlField - extends inputEx.StringField

Adds an url regexp, and display the favicon at this url

Constructor

inputEx.UrlField ( options )
Parameters:
options <Object>  - inputEx.Field options object
  • favicon: boolean whether the domain favicon.ico should be displayed or not (default is true, except for https)

Properties

static  groupOptions - Object

group Options for each field

options - Object

Configuration object to set the options for this class and the parent classes. See constructor details for options added by this class.

Methods

displayFavicon

displayFavicon()
Display the favicon if the icon was found (use of the naturalWidth property)

render

render()
Adds a img tag before the field to display the favicon

setClassFromState

setClassFromState()

setOptions

setOptions(options)
Adds the invalid Url message
Parameters:
    options <Object>  - Options object (inputEx inputParams) as passed to the constructor

updateFavicon

updateFavicon(url)
Parameters:
    url




Copyright (c) 2007-2009 Eric Abouaf. All rights reserved.
Generated by JsDoc Toolkit 2.0.0 on Wed, 04 Mar 2009 15:41:32 GMT using neyricjslibs-template.