Jump to content
uniGUI Discussion Forums

freedowsRoO

uniGUI Subscriber
  • Content Count

    88
  • Joined

  • Last visited

Community Reputation

13 Good

About freedowsRoO

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. freedowsRoO

    Print Screen

    i will try
  2. freedowsRoO

    Print Screen

    Same error..... The .JS is loaded but the error persist
  3. freedowsRoO

    Print Screen

    Sure ID: 1 145 045 326 pass: ******
  4. freedowsRoO

    Print Screen

    Yep, it's correctly. So wird because as i said if i create a new project the code works fine
  5. freedowsRoO

    Print Screen

    Sorry @Sherzod but i have one more problem. If i create i new project your code works fine but when i paste the same code in my real project i receive the message: " html2canvas is not defined" any ideia?
  6. freedowsRoO

    Print Screen

    OMG it's work perctly!! Thanks a lot!! You are the best!
  7. freedowsRoO

    Print Screen

    Thanks a lot! I'm trying to do here either but no succes yet, the problem is that i don't have mutch knwoledge in sencha, i'm learning.
  8. freedowsRoO

    Print Screen

    Hi @Sherzod how do i call this function in a uniButton? Note that in the place of #CAPTURE i need to insert the ID of the element that i want to take a screenshot. function screenshot(){ html2canvas(document.querySelector("#capture")).then( canvas => { var a = document.createElement('a'); a.href = canvas.toDataURL("image/jpeg",1.0).replace("image/jpeg", "image/octet-stream"); a.download = 'somefilename.jpg'; a.click(); }); } i'm trying to do something like this in the ExtEvent of the button but no succes function click(sender, e, eOpts){ '+ html2canvas(document.querySelector( UniTabSheet1.JSName )).then( canvas => { var a = document.createElement("a"); a.href = canvas.toDataURL("image/jpeg",1.0).replace("image/jpeg", "image/octet-stream"); ' a.download = "somefilename.jpg"; a.click(); }); }' );
  9. freedowsRoO

    Print Screen

    Thanks again =]
  10. freedowsRoO

    Print Screen

    up
  11. freedowsRoO

    Print Screen

    That's will work! BUT i have only one question. Is there a way to get the HTML of an especific component?
  12. freedowsRoO

    Print Screen

    Ok i will look for it, thanks.
  13. freedowsRoO

    Print Screen

    Hello friends! Is there any way to take print screen of a frame or panel? Thanks in advance
  14. freedowsRoO

    UnimButton Color

    Thanks..... =]
  15. freedowsRoO

    UnimButton Color

    Yep, i already checked the example. btnmobile.rar
×