<wire-datatables
wr-import-data-='./sales-dataset.js'>
</wire-datatables>
<wire-chartjs wr-import-data='./sales-dataset.js'
datamap-labels="product"
datamap-series="sales"
type='line'>
</wire-chartjs>
Wire Components
Wire Themes
<!-- This ... -->
<div class="kpi theme-header">
<div class="theme-label">Sales</div>
<div class="theme-bold">20,000</div>
<div class="theme-success icon-increase"></div>
</div>
<!-- ... becomes this -->
<kpi wr-data="sales"></kpi>
<!-- Web Commponents -->
<wire-datatables><wire-datatables>
<!-- Angular -->
<div wire-component="wire.datatables"><div>
<!-- React -->
return <WireComponent component="wire.datatables"><WireComponent>;
<!-- Vue.js -->
<div wire-component="wire.datatables"><div>
Web Frameworks
Wire Data Connectors
const salesforce = new wire.data.DataSource("salesforce");
const contacts = await wire.data.select().from("Contact")
.execAsync(salesforce);
const sql = new wire.data.DataSource("sql");
const customers = await wire.data.select("Customers")
.distinct().from("SalesTable")
.execAsync(sql);
const powerBI = new wire.data.DataSource("power-bi");
const dashboards = await wire.data.select().from("dashboards")
.execAsync(powerBI);
const dashboard = dashboards.first();
const tile = new wire.pbiTile().render("#tile", {
dashboardId: dashboard.id,
tile: "Opportunity Size"
});
Wire Integrations
Wire Dashboards
<wire-select2
wr-import-data-='./sales-dataset.js'
datamap-value='product'>
</wire-select2>
<wire-chartjs
wr-import-data='./sales-dataset.js'
datamap-labels="product"
datamap-series="sales"
type='line'>
</wire-chartjs>
Extend WireBootstrap