First commit
This commit is contained in:
34
application/demo/list/news.list.table.js
Normal file
34
application/demo/list/news.list.table.js
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
|
||||
import newsListTableHeader from "./news.list.table.header.js";
|
||||
|
||||
import newsListTableBody from "./news.list.table.body.js";
|
||||
|
||||
|
||||
import collection from '/unify/collection.js';
|
||||
|
||||
import newsListItem from '../list/item/news.list.item.js';
|
||||
|
||||
import news from '../news.js';
|
||||
|
||||
import gridView from '/elements/gridView/gridView.js';
|
||||
|
||||
|
||||
|
||||
export default class newsListTable extends gridView{
|
||||
|
||||
header = new newsListTableHeader();
|
||||
|
||||
body = new newsListTableBody( newsListItem, new collection( news ) );
|
||||
|
||||
#ifdef MACOS
|
||||
|
||||
marginLeft = 6;
|
||||
|
||||
width = "auto"
|
||||
|
||||
margin = "6px -2px 10px 6px"
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user