Plugin

JS
1.1
abstract class Plugin : ItemArrayLike<MimeType>

Exposes the JavaScript Plugin to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript Plugin to Kotlin

Plugin()

Properties

JS
1.1

description

open val description: String
JS
1.1

filename

open val filename: String
JS
1.1

name

open val name: String

Functions

JS
1.1

item

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

namedItem

fun namedItem(name: String): MimeType?

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 Plugin.get(index: Int): MimeType?
operator fun Plugin.get(name: String): MimeType?