<!-- `<use>` shape defined ON THIS PAGE somewhere else -->
<svg viewBox="0 0 100 100">
<use xlink:href="#icon-1"></use>
</svg>
<!-- `<use>` shape defined in an EXTERNAL RESOURCE -->
<svg viewBox="0 0 100 100">
<use xlink:href="defs.svg#icon-1"></use>
</svg>
if($(window).width() <= 415){
if($(window).scrollTop() == 0){
if($('.bot').hasClass('hide')){
$('.bot').removeClass('hide');
}
if($('#main__background').hasClass('up')){
$('#main__background').removeClass('up');
}
}
else if($(window).scrollTop() != 60){
$('.bot').addClass('hide');
$('#header').addClass('up');
$('#main__background').addClass('up');
}
series: [
{
name: 'Максимальное число',
data: [{y:10000, percentage: 50]},
pointPlacement: 'on'
}
]
<script type="text/javascript">
window.onload = function () {
ew Vue({
el: "#cheapestsites",
data: {
cheapsites: []
},
mounted(){
fetch("http://danya.loc/all.json").then(c => c.json()).then((data) => {
this.cheapsites = data;
})
}
});
new Vue({
src: "./all.json",
el: "#one",
data: {
short: "Generally, most people prefe..."
}
})
}
</script>