ModalSourceCode
Opens a modal dialog and shows a loading indicator animation
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Private Members | ||
private |
_dialog: * |
|
private |
_options: {"title": *, "html": string, "url": *, "line": *, "lang": *} |
|
private |
_tasks: *[] |
Method Summary
Public Methods | ||
public |
close() |
Private Methods | ||
private |
_getFileSnippet(url: *, cb: *) |
|
private |
_getHtmlFromSrc(str: *, badLines: *, from: *, to: *, lang: *): * |
Public Constructors
public constructor() source
Private Members
private _dialog: * source
private _options: {"title": *, "html": string, "url": *, "line": *, "lang": *} source
private _tasks: *[] source
Public Methods
public close() source
Private Methods
private _getFileSnippet(url: *, cb: *) source
Params:
Name | Type | Attribute | Description |
url | * | ||
cb | * |
private _getHtmlFromSrc(str: *, badLines: *, from: *, to: *, lang: *): * source
Params:
Name | Type | Attribute | Description |
str | * | ||
badLines | * | ||
from | * | ||
to | * | ||
lang | * |
Return:
* |