Standalone Usage - paulmaclean/datatables.webcomponent GitHub Wiki
datatables.webcomponent supplies a standalone script for quick usage in your applications.
https://unpkg.com/@p_mac/[email protected]/dist/datatables.webcomponent.js
Example View in Browser
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Standalone Example</title>
</head>
<body>
<h2>Example Usage using ajax url with Standalone script</h2>
<pmac-data-table
data-ajax='{"url": "https://unpkg.com/@p_mac/datatables.webcomponent/test/support/data/generated.json"}'
data-filterable='{"colIndexes":[5]}'
data-summable='{"colIndexes":[2]}'
></pmac-data-table>
<script src="https://unpkg.com/@p_mac/datatables.webcomponent/dist/datatables.webcomponent.js"></script>
</body>
</html>