Extension Manager:API Rewrite:API: Difference between revisions

Jump to navigation Jump to search
Line 21: Line 21:
;callback :A function that will be passed the [[#AddonInstall|AddonInstall]] for the installation
;callback :A function that will be passed the [[#AddonInstall|AddonInstall]] for the installation
;mimetype :The mimetype of the add-on to be downloaded. If not provided file based detection will be used. (optional)
;mimetype :The mimetype of the add-on to be downloaded. If not provided file based detection will be used. (optional)
==getInstallForData==
Creates a new object representing an add-on installation from some data, properties for the install will be loaded out of the data. Operates asynchronously.
;data :A <code>string</code> or <code>object</code> to install the add-on from
;callback :A function that will be passed the [[#AddonInstall|AddonInstall]] for the installation
;mimetype :The mimetype of the add-on to be installed. If not provided some detection mechanism may be used. (optional)


==getInstalls==
==getInstalls==
canmove, Confirmed users
1,570

edits

Navigation menu