toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.highlight
/
Highlight
Highlight
external
class
Highlight
(
initialRanges
:
AbstractRange
)
:
MutableSetLike
<
AbstractRange
>
(
source
)
MDN Reference
Members
Constructors
Highlight
Link copied to clipboard
constructor
(
vararg
initialRanges
:
AbstractRange
)
Properties
priority
Link copied to clipboard
var
priority
:
Int
MDN Reference
size
Link copied to clipboard
open
override
val
size
:
Int
type
Link copied to clipboard
var
type
:
HighlightType
MDN Reference
Functions
add
Link copied to clipboard
open
override
fun
add
(
value
:
AbstractRange
)
clear
Link copied to clipboard
open
override
fun
clear
(
)
delete
Link copied to clipboard
open
override
fun
delete
(
value
:
AbstractRange
)
:
Boolean
entries
Link copied to clipboard
open
override
fun
entries
(
)
:
JsIterator
<
JsTuple2
<
AbstractRange
,
AbstractRange
>
>
for
Each
Link copied to clipboard
open
override
fun
forEach
(
action
:
(
value
:
AbstractRange
)
->
Unit
)
get
Link copied to clipboard
open
operator
fun
get
(
key
:
Symbol.iterator
)
:
(
)
->
JsIterator
<
AbstractRange
>
has
Link copied to clipboard
open
override
fun
has
(
key
:
AbstractRange
)
:
Boolean
iterator
Link copied to clipboard
open
inline operator
fun
iterator
(
)
:
Iterator
<
AbstractRange
>
keys
Link copied to clipboard
open
override
fun
keys
(
)
:
JsIterator
<
AbstractRange
>
values
Link copied to clipboard
open
override
fun
values
(
)
:
JsIterator
<
AbstractRange
>