Code Index

Namespaces

Classes


Class CKFinder.ui.dialog.textarea


Extends CKFinder.ui.dialog.labeledElement.

Class Summary
Constructor Attributes Constructor Name and Description
 
CKFinder.ui.dialog.textarea(dialog, elementDefinition, htmlList)
A text area with a label on the top or left.
Methods borrowed from class CKFinder.ui.dialog.labeledElement:
getLabel, setLabel
Methods borrowed from class CKFinder.ui.dialog.uiElement:
disable, enable, focus, getDialog, getElement, getInputElement, getValue, isChanged, isEnabled, isVisible, selectParentTab, setValue
Class Detail
CKFinder.ui.dialog.textarea(dialog, elementDefinition, htmlList)
Since: 2.0
A text area with a label on the top or left.
Note: the whole CKFinder.ui.dialog namespace is not directly accessible (CKFinder.ui.dialog is undefined).
Instances of this class are created by CKFinder when dialog is created.
To add a text area to a dialog, check CKFinder.dialog.definition.textarea.
Parameters:
{CKFinder.dialog} dialog
Parent dialog object.
{CKFinder.dialog.uiElementDefinition} elementDefinition
The element definition. Accepted fields:
  • rows (Optional) The number of rows displayed. Defaults to 5 if not defined.
  • cols (Optional) The number of cols displayed. Defaults to 20 if not defined. Usually overridden by skins.
  • default (Optional) The default value.
  • validate (Optional) The validation function.
{Array} htmlList
List of HTML code to output to.

Copyright © 2007-2015, CKSource - Frederico Knabben. All rights reserved.