DrawPlzModals - danopia/deviantart-difi GitHub Wiki

This object deals with Muro-related modals. Most of this isn't useful; it's basically raw HTML without data.

load_draft

Lists the saved Muro drafts.

Params

None.

Response

Returns a basic object with the list's HTML source in the htmlContent key.

progress

Not quite sure what this is used for yet. It contains a bunch of HTML structuring, but the only text is a message about being able to save stuff.

Usage

  • Maybe when loading a drawing?

Params

None.

Response

Returns a relatively large HTML string in htmlContent.

save_draft

Dialog to save a draft.

Params

None.

Response

Return an HTML string in htmlContent. The string contains a form, but the list of slots is inserted later by the JS AFAIK.

share_draft

Loads a modal to share a draft with others.

Params

None.

Response

The usual suspect... JSON object with an HTML string in htmlContent. No unique data in the HTML.

image_import

Usage

Returns import form

Params

None

recordedDrawingPlayback

undocumented, returns HTML

Params

  • type : string

annotation

undocumented, returns HTML

Params

None

confirm

Returns HTML, probably for a confirmation message

Params

None

load_recording

undocumented, returns HTML

Params

None