mendix-data-source-helper
TypeScript icon, indicating that this package has built-in type declarations

0.1.2-rc2 • Public • Published

data-source-helper

The Mendix widget data source helper module assists with applying multiple restrictions (coming from custom widgets ) onto the mendix data containers (eg: list-view)

Usage.

  • Install as npm module.
npm install --save mendix-data-source-helper
  • Import DataSourceHelper into your component.
import DataSourceHelper from "DataSourceHelper"
  • Initialize the dataSourceHelper once you have a listview
try {
    this.dataSourceHelper = new DataSourceHelper(targetNode, ListView, this.props.friendlyId, DataSourceHelper.VERSION)
} catch (error) {
    console.error(error.message)
} 
  • To blur any html content from initially displaying.
DataSourceHelper.hideContent(htmlNode);
  • To show (unblur) content
DataSourceHelper.showContent(htmlNode);

/mendix-data-source-helper/

    Package Sidebar

    Install

    npm i mendix-data-source-helper

    Weekly Downloads

    4

    Version

    0.1.2-rc2

    License

    Apache-2.0

    Last publish

    Collaborators

    • flockofbirds
    • kwagala