<script src="jquery-3.3.1.min.js"></script>
<script src="jquery-ui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<link rel="stylesheet" href="twoInOne.min.css">
<script src="twoInOne.min.js"></script>
<link rel="stylesheet" href="https://cdn.rawgit.com/Macylion/TwoInOne---Image-Splitter/4e231387/TwoInOne/twoInOne.min.css">
<script src="https://cdn.rawgit.com/Macylion/TwoInOne---Image-Splitter/4e231387/TwoInOne/twoInOne.min.js"></script>
App.add('#container', 'img1.png', 'img2.png');
App.add('#container', 'img1.png', 'img2.png', 'center');
App.add('#container', 'img1.png', 'img2.png', 'center', 'spacer.png');
.tio-stick{
background-color: white;
border: 2px dotted red;
}
- containerDiv
- String
- Example
'#cont'
- firstImage
- String
- Example
'img.png'
- secondImage
- String
- Example
'img2.png'
- spacerPosition (optional)
- String
- Example
'left'
'center'
'right'
- spacerIcon (optional)
- String
- Example
'spacer-icon.png'