Plugin

abstract external class Plugin : ItemArrayLike<MimeType> (source)

Platform and version requirements: JS

Exposes the JavaScript Plugin to Kotlin

Constructors

<init>

Plugin()

Exposes the JavaScript Plugin to Kotlin

Properties

description

open val description: String

filename

open val filename: String

length

open val length: Int

name

open val name: String

Functions

item

open fun item(index: Int): MimeType?

namedItem

fun namedItem(name: String): MimeType?

Extension Functions

asList

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

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

get

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