noinfopath-ui

0.0.36 • Public • Published

# noinfopath.ui

@version 0.0.36

## noDataPanel

Renders a data bound panel that can contain any kind of HTML content, which can be bound data on $scope. The data sources being bound to, are NoInfoPath Data Providers. Note that this directive calls noDataSource.one method, only returns a single data object, not an array.

### Sample Usage

This sample show how to use the noDataPanel directive in your HTML markup.

<no-data-panel no-config="noForms.trialPlot.noComponents.selection"/>

### Sample Configuration

{
    "selection": {
        "scopeKey": "selection",
        "dataProvider": "noWebSQL",
        "databaseName": "FCFNv2",
        "entityName": "vw_trialplot_selection",
        "primaryKey": "TrialPlotID",
        "lookup": {
            "source": "$stateParams",
        },
        "templateUrl": "observations/selection.html"
    }
}

Dependencies (5)

Dev Dependencies (24)

Package Sidebar

Install

npm i noinfopath-ui

Weekly Downloads

33

Version

0.0.36

License

MIT

Last publish

Collaborators

  • noinfopath