# inputEx-library

### inputEx 0.5.1

inputEx-library > inputEx > inputEx.Lens
Search:
Filters Show Private Show Protected Show Deprecated

## Class inputEx.Lens - extends inputEx.Group

Display a group with inplace edit and custom template

### Constructor

inputEx.Lens `( options )`

Parameters:
  `options <Object>` Added options:
  - lens: html code for the lens. Fields will be displayed in the div elements that has the classname named "field-(field name)"
  - visus: list of visualization for each field

#### Properties inherited from inputEx.Field:

`options`

### Methods

#### renderFields

`void renderFields ( )`
Render each the fields in each div which class attribute is "field-"+fieldName

#### setOptions

`void setOptions ( )`
Set additional options

#### Methods inherited from inputEx.Field:

`clear, close, destroy, disable, displayMessage, enable, fireUpdatedEvt, focus, getEl, getParentField, getState, getStateString, getValue, hide, initEvents, isDisabled, isEmpty, onBlur, onChange, onFocus, render, renderComponent, setClassFromState, setFieldName, setOptions, setParentField, setValue, show, validate`

#### Methods inherited from inputEx.Group:

`clear, close, destroy, disable, enable, focus, getFieldByName, getFieldsStates, getValue, initEvents, onChange, render, renderField, renderFields, runAction, runFieldsInteractions, runInteractions, setErrors, setOptions, setValue, toggleCollapse, validate`

#### Events inherited from inputEx.Field:

`updatedEvt,`

Copyright © 2010 Eric Abouaf All rights reserved.