meta at hooks

This commit is contained in:
2024-07-31 12:48:26 +03:00
parent b7fea4122c
commit d6d703aaa6
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ $table = new ListJsonTable($json);
$table->setBeforePrintCell(function ($key, $data) {
return $key == "email" ? "<span style='color: aqua'>$data</span>" : $data;
});
$table->afterPrint(function () {
$table->afterPrint(function ($meta) {
return "<div>After Print</div>";
});
$table->create();