inputEx-library

inputEx  0.7.1

inputEx-library > inputEx > inputEx.UrlField
Search:
 
Filters

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 inherited from inputEx.Field:

Methods

displayFavicon

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

render

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

setOptions

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

Events inherited from inputEx.Field:


Copyright © 2011 Eric Abouaf All rights reserved.