Commit ba083938 authored by Prakhar Agrawal's avatar Prakhar Agrawal
Browse files

Updated readme.

parent f8a1dbb2
Loading
Loading
Loading
Loading
+0 −0

File moved.

+3 −3
Original line number Diff line number Diff line
# Leegality Web SDK 5.0#
# Leegality Web SDK 6.0#

### Steps to use: ###

1. Download Leegality Library from http://gitlab.leegality.com/leegality-public/web-sdk/blob/v5/leegalityv5.js
1. Download Leegality Library from http://gitlab.leegality.com/leegality-public/web-sdk/blob/v5/leegalityv6.js
2. Insert the SDK JS file in head tag of HTML.
    <br __>Ex. `<script src="leegalityv5.js" type="text/javascript"></script>`
    <br __>Ex. `<script src="leegalityv6.js" type="text/javascript"></script>`
3. Create a JSON object with following keys:
    <br __>3.1 logoUrl: (This is an optional parameter) This key contains a URL of your logo in any image file format. This Logo is shown on the Loading Page before the Signing Page appears. 
    <br __>3.2 callback: (This is a required parameter) This key contains a function which will be automatically executed after the completion of signing or in case of any error.