Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
CKEDITOR
dom
selection
Class selection
Index
Constructor methods
constructor
Properties
document
isFake
isLocked
rev
root
Methods
createBookmarks
createBookmarks2
fake
getCommonAncestor
getNative
getRanges
getSelectedElement
getSelectedText
getStartElement
getType
isHidden
lock
removeAllRanges
reset
scrollIntoView
selectBookmarks
selectElement
selectRanges
unlock
Constructor methods
constructor
(
target
:
document
)
:
selection
Parameters
target:
document
Returns
selection
constructor
(
target
:
element
)
:
selection
Parameters
target:
element
Returns
selection
constructor
(
target
:
selection
)
:
selection
Parameters
target:
selection
Returns
selection
Properties
public
document
:
document
public
isFake
:
boolean
public
isLocked
:
boolean
public
rev
:
number
public
root
:
element
Methods
public
createBookmarks
(
serializable
:
Object
)
:
Array<any>
Parameters
serializable:
Object
Returns
Array<any>
public
createBookmarks2
(
normalized
?:
Object
)
:
Array<any>
Parameters
normalized?:
Object
optional
Returns
Array<any>
public
fake
(
element
:
element
)
Parameters
element:
element
public
getCommonAncestor
(
)
:
element
Returns
element
public
getNative
(
)
:
Object
Returns
Object
public
getRanges
(
onlyEditables
?:
boolean
)
:
Array<any>
Parameters
onlyEditables?:
boolean
optional
Returns
Array<any>
public
getSelectedElement
(
)
:
element
Returns
element
public
getSelectedText
(
)
:
string
Returns
string
public
getStartElement
(
)
:
element
Returns
element
public
getType
(
)
:
number
Returns
number
public
isHidden
(
)
:
boolean
Returns
boolean
public
lock
(
)
public
removeAllRanges
(
)
public
reset
(
)
public
scrollIntoView
(
)
public
selectBookmarks
(
bookmarks
:
Array<any>
)
:
selection
Parameters
bookmarks:
Array<any>
Returns
selection
public
selectElement
(
element
:
element
)
Parameters
element:
element
public
selectRanges
(
ranges
:
Array<any>
)
Parameters
ranges:
Array<any>
public
unlock
(
restore
:
Object
)
Parameters
restore:
Object
Globals
CKEDITOR
CKEDITOR.ajax
CKEDITOR.dialog.definition
CKEDITOR.dom
CKEDITOR.htmlParser
CKEDITOR.plugins
CKEDITOR.plugins.link
CKEDITOR.plugins.widget
position
rangeListIterator
widthAndHeight
comment
document
documentFragment
domObject
element
elementPath
event
iterator
node
nodeList
range
rangeList
selection
constructor
document
isFake
isLocked
rev
root
createBookmarks
createBookmarks2
fake
getCommonAncestor
getNative
getRanges
getSelectedElement
getSelectedText
getStartElement
getType
isHidden
lock
removeAllRanges
reset
scrollIntoView
selectBookmarks
selectElement
selectRanges
unlock
text
walker
window