Plugin

abstract external class Plugin : ItemArrayLike<MimeType>

Exposes the JavaScript Plugin to Kotlin

Constructors

Plugin
Link copied to clipboard
JS
fun Plugin()

Functions

item
Link copied to clipboard
JS
open override fun item(index: Int): MimeType?
namedItem
Link copied to clipboard
JS
fun namedItem(name: String): MimeType?

Properties

description
Link copied to clipboard
JS
open val description: String
filename
Link copied to clipboard
JS
open val filename: String
length
Link copied to clipboard
JS
abstract val length: Int
name
Link copied to clipboard
JS
open val name: String

Extensions

get
Link copied to clipboard
JS
inline operator fun Plugin.get(index: Int): MimeType?
inline operator fun Plugin.get(name: String): MimeType?