Just a simple datatables initial setup as example and for future use to build more advanced examples.
A Pen by Dirk Drijkoningen on CodePen.
<div id="datatables" class="container"> | |
<h1>Vue.JS Advanced Datatable Component</h1> | |
<p> | |
This is an early demonstration of the datatable component as part of the vuetiful component framework. The component (and | |
the framework) isn't complete yet but this will give you an idea of where I'm headed with it. If you have any feedback | |
or suggestions please open an issue on the GitHub repo. This is the successor to the version I wrote for Vue 1.x. | |
You can see the original datatable <a href="https://codepen.io/andrewcourtice/pen/VabXQV" target="_blank">here</a>. | |
</p> | |
<p> | |
<a href="https://github.com/andrewcourtice/vuetiful" target="_blank">Vuetiful Repo on GitHub</a> |
Just a simple datatables initial setup as example and for future use to build more advanced examples.
A Pen by Dirk Drijkoningen on CodePen.
This page holds everything we know about every extension we know about. Instructions for working with this page can be found on our main website.
If this page is annoyingly narrow to read, try this: https://github.com/xthexder/wide-github
Name | Homepage/location | Has maintainers | Has tests | Has docs | Works on PHP5 | Works on PHP7 | Is good on PHP 7 | Details |
---|
<?php | |
include __DIR__.'/wp-load.php'; | |
// Get all category of wordpress site. | |
// Categories are actually term located in `wp_terms` table. | |
$categories = get_terms(); | |
// This will fetch all categories of all post type of the site. |
<?php | |
// this will convert file lines into a big array. So, if your file has 1000 lines the array count will be 1000 | |
// if your file size 20 MB than this method will occupy 20MB of system ram . | |
$lines = file('big_file.txt'); | |
// Now we are going to chunk the lines by 100000 on each chunk | |
// array_chunk will create a multi demential array with chunked line on array. | |
$chunked = array_chunk($lines,100000); |
<?php | |
class GF_Field_Mailpoet extends GF_Field { | |
public $type = 'mailpoet'; | |
public function get_form_editor_field_title() { | |
return esc_attr__( 'Mailpoet List', 'gravityforms' ); | |
} |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import urllib2 | |
gh_url = 'https://api.github.com' | |
req = urllib2.Request(gh_url) | |
password_manager = urllib2.HTTPPasswordMgrWithDefaultRealm() |
<div class="group"> | |
<div class="input-number" min="0" max="10"> | |
<input type="text" value="1" /> | |
<button class="input-number-increment" data-increment></button> | |
<button class="input-number-decrement" data-decrement></button> | |
</div> | |
</div> |
.wrapper | |
input type="number" value="1"/ | |
span.input-button.add + | |
span.input-button.remove - | |
.infos Try to shift + click |
<div class="quantity"> | |
<input type="number" min="1" max="9" step="1" value="1"> | |
</div> |