Code Index

Namespaces

Classes


Class CKFinder.dialog.definition.content

Class Summary
Constructor Attributes Constructor Name and Description
 
The definition of dialog's contents.
Field Summary
Field Attributes Field Name and Description
 
The CTRL hotkey for switching to the tab.
 
The UI elements contained in this content page, defined as an array of CKFinder.dialog.definition.uiElement objects.
 
id
The id of the content page.
 
The tab label of the content page.
 
The popup message of the tab label.
Class Detail
CKFinder.dialog.definition.content()
Since: 2.0
The definition of dialog's contents.
This class is not really part of the API. It just illustrates the properties that developers can use to define and create dialog content pages.
For a full example please check CKFinder.dialog.add
// There is no constructor for this class, the user just has to define an
// object with the appropriate properties.

// Example:
contents : [
	{
		id : 'tab1',
		label : 'First Tab',
		title : 'First Tab Title',
		accessKey : 'Q',
		elements : [
			{
				type : 'text',
				label : 'Test Text 1',
				id : 'testText1',
				'default' : 'hello world!'
			}
		]
	}
]
See:
CKFinder.dialog.definition
Field Detail
{String} accessKey
Since: 2.0
The CTRL hotkey for switching to the tab.
contentDefinition.accessKey = 'Q';	// Switch to this page when CTRL-Q is pressed.

{Array} elements
Since: 2.0
The UI elements contained in this content page, defined as an array of CKFinder.dialog.definition.uiElement objects.

{String} id
Since: 2.0
The id of the content page.

{String} label
Since: 2.0
The tab label of the content page.

{String} title
Since: 2.0
The popup message of the tab label.

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