ng2-smart-table :如何使用 css?

ng2-smart-table : how to use css?

任何人都可以帮助我如何使用 CSS 到 ng2-smart-table 组件?

我想自定义分页,标题,主题,主体内容

提前致谢 安德里亚

在设置对象中使用以下配置

attr: {
        class: 'table table-bordered'
      }, //this is for getting default table class

 :host /deep/ ng2-smart-table { 
    font-size: 16px; 
}//this for custom css

示例:

settings = {
  columns: {
    id: {
      title: 'ID'
    },
    name: {
      title: 'Full Name'
    },
    username: {
      title: 'User Name'
    },
    email: {
      title: 'Email'
    }
  },
attr: {
        class: 'table table-bordered'
      }
};