Created
December 8, 2020 11:24
-
-
Save sidorov-panda/55e54fd65a34edbaec743b2e4e8f48ae to your computer and use it in GitHub Desktop.
BS Widget
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="bs-tiny-widget"></div> | |
| <script> | |
| (function(d){ | |
| var w,c=d.createElement('script'),s=d.createElement('link'); | |
| c.src='https://bolshayastrana.com/jswidget/tiny/bundle.js';c.type='text/javascript';c.async=!0;c.defer=!0;d.body.appendChild(c); | |
| s.rel='stylesheet';s.href='https://bolshayastrana.com/jswidget/tiny/bundle.css';d.getElementsByTagName('head')[0].appendChild(s); | |
| c.onload=function(){ | |
| w = new BsTinyWidget({ | |
| target: d.getElementById('bs-tiny-widget'), | |
| props: { | |
| params: { | |
| utm_source: 'travelpayouts', | |
| sub_id: 1, | |
| } | |
| } | |
| }); | |
| } | |
| })(document); | |
| </script> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
В params можно указывать параметры, которые будут передаваться в ссылки на сайт
params: {
utm_source: 'travelpayouts',
sub_id: 1,
}