PluginArray

JS
1.1
abstract class PluginArray : ItemArrayLike<Plugin>

Exposes the JavaScript PluginArray to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript PluginArray to Kotlin

PluginArray()

Properties

JS
1.1

length

open val length: Int

Functions

JS
1.1

item

open fun item(index: Int): Plugin?
JS
1.1

namedItem

fun namedItem(name: String): Plugin?
JS
1.1

refresh

fun refresh(reload: Boolean = definedExternally)

Extension Functions

JS
1.1

asList

Returns the view of this ItemArrayLike<T> collection as List<T>

fun <T> ItemArrayLike<T>.asList(): List<T>
JS
1.1

get

operator fun PluginArray.get(index: Int): Plugin?
operator fun PluginArray.get(name: String): Plugin?