Pro Pack
Docs HomeProduct SiteSupport
  • Introduction
  • Installation
  • Chart.js
    • Configuration
    • Data Binding
    • Data Labels
  • Dataset Filter Labels
    • Installation
    • Configuration
    • Data Binding
  • DataTables
    • Configuration
    • Data Binding
    • Events
    • Methods
  • Date Range Picker
    • Configuration
    • Data Binding
    • Methods
  • iCheck
    • List
      • Configuration
      • Data Binding
      • Events
    • Filter
      • Configuration
      • Data Binding
  • Select2
    • Configuration
    • Data Binding
    • Events
    • Methods
  • Sparklines
    • Installation
    • Configuration
    • Data Binding
  • Toastr
    • Configuration
  • Web Frameworks
Powered by GitBook
On this page
  • Class
  • Render

Was this helpful?

  1. Dataset Filter Labels

Installation

PreviousDataset Filter LabelsNextConfiguration

Last updated 2 years ago

Was this helpful?

The filer labels library is located in wire-filter-label.js. This and other other related files can be installed from the NPM package registry at@wirebootstrap/wire-filter-label.

npm install @wirebootstrap/wire-filter-label

Class

The Dataset Filter Labels component extends the class. As such, it inherits all the base functionality of that class.

To create a new instance of the filter labels component, use the wire.filterLabelclass.

const label = new wire.filterLabel();

Render

Render the component using an HTML span element.

<span id="label"></span>
<script>
    new wire.filterLabel().render("#label", {});
</script>
<wire-filter-label wr-config=""></wire-filter-label>
<WireComponent component="wire.filterLabel" config={}>
    <span></span>
</WireComponent>
<span wire-component="wire.filterLabel" v-wire-config=""></span>
<span wire-component="wire.filterLabel" [config]=""></span >
wire.ui.component