Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block DespertaWeb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
DespertaWeb / pagination_component.vue
Last active Jun 1, 2018
2 way binding Select Component Vue.js
View pagination_component.vue
<nav id="pagination" class="clearfix u-text-align-right u-margin-bottom-l u-line-height-40">
<select id="pagination_select" v-model="pageSelected" class="e-select i-svg__arrow-down" :disabled="totalPages === 1 ? true : false">
v-for="pageNumber in totalPages"
:selected="pageNumber === currentPage"
DespertaWeb / axiosScript.js
Last active May 17, 2018
File load and Display
View axiosScript.js
url: `${config.BASE}/download/${this.section.urlSingular}_50.pdf`,
method: 'GET',
headers: LocalStorage.get('inv.headers'),
responseType: 'blob'
.then((response) => {
this.urlPdf = URL.createObjectURL(
.catch((error) => {
You can’t perform that action at this time.