Element: <ins-loader>
Defines a simplified preloader.
Code Snippet
<ins-loader state-title="Success!" state-message="Your order has been placed and is being processed." state-icon="success" tooltip="This is a sample tooltip content. It also support html content."> </ins-loader>
Code Snippet
<ins-loader id="directSetDataLoader"> </ins-loader> <script> var loader = document.getElementById('directSetDataLoader'); loader.addEventListener('didLoad', function(e){ loader.stateTitle = 'Error!'; loader.stateMessage = 'A problem has occurred while submitting your data.'; loader.stateIcon = 'error'; }); </script>
Code Snippet
<ins-loader state-title="Success!" state-message="Your message has been sent successfully." state-icon="success"> </ins-loader>
Code Snippet
<ins-loader state-title="Processing" state-message="Please wait, we're processing your data." state-icon="processing"> </ins-loader>
Code Snippet
<ins-loader use-image=false state-title="Processing" state-message="Please wait, we're processing your data." state-icon="processing"> </ins-loader>
Code Snippet
<ins-loader state-title="Warning!" state-message="There was a problem with your network connection." state-icon="warning"> </ins-loader>
Code Snippet
<ins-loader state-title="Need help?" state-message="Please contact our online support team." state-icon="help"> </ins-loader>
Code Snippet
<ins-loader state-title="Error!" state-message="A problem has occurred while submitting your data." state-icon="error"> </ins-loader>
Code Snippet
<ins-loader state-title="Success!" state-message="You message has been sent successfully." state-icon="success"> </ins-loader>
Code Snippet
<ins-loader state-title="Downloading" state-message="Your file/s are being downloaded." state-icon="downloading"> </ins-loader>
Code Snippet
<ins-loader state-title="Uploading" state-message="Your file/s are being uploaded." state-icon="uploading"> </ins-loader>
FIELD ATTRIBUTE | TYPE | DEFAULT | OPTIONS | DESCRIPTION |
---|---|---|---|---|
state-title | string | "" | any | Defines title of loader |
state-message | string | "" | any | Defines message of loader |
state-icon | string | "" | processing, warning, Help, Error, Success, downloading, uploading | Defines icon of loader |
icon-color | string | "" | any | Defines icon color of loader |
use-image | boolean | true | true, false | Toggle use image for 'processing' state |
image-source | string | loading-loop.gif | any | Defines image path to used for 'processing' state loader |
Didn't quite find what you are looking for or have feedback on how we can make the content better then we would love to hear from you. Please provide us feedback and we will get back to you shortly.