datatables.net-autofill 2.7.0 → 3.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Readme.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # AutoFill for DataTables
2
2
 
3
- This package contains distribution files for the [AutoFill extension](https://datatables.net/extensions/autofill) for [DataTables](https://datatables.net/). Only the core software for this library is contained in this package - to be correctly styled, a styling package for AutoFill must also be included. Styling options include DataTable's native styling, [Bootstrap](http://getbootstrap.com) and [Foundation](http://foundation.zurb.com/).
3
+ This is the distribution package for the [AutoFill extension](https://datatables.net/extensions/autofill) for [DataTables](https://datatables.net/). Only the core software for this library is contained in this package - to be correctly styled, a styling package for AutoFill must also be included. Please see the [npm installation documentation on the DataTables site](https://datatables.net/manual/installation#Node.js-/-NPM) for full details.
4
4
 
5
5
  AutoFill adds an Excel like data fill option to DataTables, allowing click and drag over cells, filling in information and incrementing numbers as needed.
6
6
 
@@ -9,42 +9,37 @@ AutoFill adds an Excel like data fill option to DataTables, allowing click and d
9
9
 
10
10
  ### Browser
11
11
 
12
- For inclusion of this library using a standard `<script>` tag, rather than using this package, it is recommended that you use the [DataTables download builder](//datatables.net/download) which can create CDN or locally hosted packages for you, will all dependencies satisfied.
12
+ To use DataTables with a simple `<script>` tag, rather than using this package, it is recommended that you use the [DataTables download builder](//datatables.net/download) which can create CDN or locally hosted packages for you, will all dependencies satisfied.
13
13
 
14
14
  ### npm
15
15
 
16
+ For installation via npm, yarn and other similar package managers, install this package with your package manager - e.g.:
17
+
16
18
  ```
19
+ npm install datatables.net
17
20
  npm install datatables.net-autofill
18
21
  ```
19
22
 
20
- ES3 Syntax
21
- ```
22
- var $ = require( 'jquery' );
23
- require( 'datatables.net-autofill' )( window, $ );
24
- ```
23
+ Then, to load and initialise DataTables and AutoFill in your code use:
25
24
 
26
- ES6 Syntax
27
25
  ```
26
+ import DataTable from 'datatables.net';
28
27
  import 'datatables.net-autofill'
29
- ```
30
28
 
31
- ### bower
32
-
33
- ```
34
- bower install --save datatables.net-autofill
29
+ new DataTable('#myTable', {
30
+ // initialisation options
31
+ });
35
32
  ```
36
33
 
37
34
 
38
-
39
35
  ## Documentation
40
36
 
41
- Full documentation and examples for AutoFill can be found [on the website](https://datatables.net/extensions/autofill).
37
+ Full documentation and examples for AutoFill can be found [on the DataTables website](https://datatables.net/extensions/autofill).
42
38
 
43
39
  ## Bug / Support
44
40
 
45
41
  Support for DataTables is available through the [DataTables forums](//datatables.net/forums) and [commercial support options](//datatables.net/support) are available.
46
42
 
47
-
48
43
  ### Contributing
49
44
 
50
45
  If you are thinking of contributing code to DataTables, first of all, thank you! All fixes, patches and enhancements to DataTables are very warmly welcomed. This repository is a distribution repo, so patches and issues sent to this repo will not be accepted. Instead, please direct pull requests to the [DataTables/AutoFill](http://github.com/DataTables/AutoFill). For issues / bugs, please direct your questions to the [DataTables forums](//datatables.net/forums).