<template>
	<tr>
	    <td class="pl-0 pr-0" :colspan="colspan">
	        <ul class="pagination pull-right">

	        	<li v-if="pervious_page"  class="page-item">
	        		<span 
						@click="$emit('clicked', pervious_page)"
						class="page-link" 
						title="left" value="">
							«
	        		</span>
	        	</li>
	        	<li v-if="next_page"  class="page-item">
	        		<span 
						@click="$emit('clicked', next_page)"
						class="page-link" 
						title="right" value="">
							»
	        		</span>
	        	</li>
	        </ul>
	    </td>
	</tr>
</template>

<script type="text/javascript">
	export default {
		props: ['pervious_page', 'next_page', 'colspan']
	}
</script>