Skip to content
This repository was archived by the owner on Jul 24, 2026. It is now read-only.
This repository was archived by the owner on Jul 24, 2026. It is now read-only.

Ionic2 support  #78

Open
Open

Description

@almgwary

Is there any support for Ionic2 with typescript ?

Activity

  1. almgwary commented on Aug 12, 2017

    @almgwary
    Author

    my current quick solution for Canvas2ImagePlugin typescript and Canvas2ImagePlugin ionic2 is
    and it is working successfully

    let _widow:any = window ;
    
        if (_widow.cordova) {
          console.log('cordova attached');
          // running on device/emulator
          _widow.canvas2ImagePlugin.saveImageDataToLibrary(
            function(msg){
              console.log(msg);
    
            },
            function(err){
              console.log(err);
    
            },
            this.canvasAngularElementRef.nativeElement
          );
        }
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions