this.$http.patch(
`//${this.$store.state.apiPath}/company`,
{ params: { id: 1, c: 1900 } },
{ headers: { Authorization: `Bearer ${localStorage.getItem('access_token')}`} }
).then(({ data }:any) => {
console.log(data)
})
.catch((e:any) => {
console.log(e);
});
$("#slider").slider({
value : startPos,
min : 0,
max : maxPos-2,
step : 1,
create: function( event, ui ) {
val = $( "#slider" ).slider("value");
$( "#contentSlider" ).html( val );
},
slide: function( event, ui ) {
$( "#contentSlider" ).html( ui.value );
$('.area-range').trigger('to.owl.carousel', [ui.value, 300]);
}
});
left: -20px;
top: -20px;
function resizeScrenn(){
if ($(window).width() <= 779){
$(".icn-nav").click(function(){
$('.navigation').fadeIn();
});
$(".icn-close").click(function(){
$('.navigation').fadeOut();
});
} else{
$('.navigation').fadeIn();
}
}
resizeScrenn();
$(window).resize(function(){
resizeScrenn();
});