noinfopath-ui

noInfoPath UI module

Usage no npm install needed!

<script type="module">
  import noinfopathUi from 'https://cdn.skypack.dev/noinfopath-ui';
</script>

README

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"
    }
}