We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was reading Tutorial and realized that the code can be simplified if image loading is handled by the library.
This code:
function get_image(url) { return new Promise(function(resolve, reject) { const img = $('<img src="' + url + '"'/>'); img.on('load', () => resolve(img)); img.on('error', reject); }); }
in tutorial can be replace with just:
return $('<img src="' + url + '"'/>');
or
this.echo($('<img src="' + url + '"'/>'));
And jQuery Terminal should pause when the image is loading. This will be a breaking change so options need to be provided
The text was updated successfully, but these errors were encountered:
pause terminal when images are loading #802
9589776
No branches or pull requests
I have an idea for a new feature for jQuery Terminal
I was reading Tutorial and realized that the code can be simplified if image loading is handled by the library.
This code:
in tutorial can be replace with just:
or
And jQuery Terminal should pause when the image is loading. This will be a breaking change so options need to be provided
The text was updated successfully, but these errors were encountered: