Skip to content

Altinn/plugin-node-data-inheritance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Inheritance Plugin for Pattern Lab Node

The Data Inheritance Plugin allows patterns to inherit data from patterns within its lineage. This means that data from included patterns is merged with the current pattern. The current pattern's data takes precedence.

Installation

To add the Data Inheritance Plugin to your project using npm:

npm install git+https://github.com/Altinn/plugin-node-data-inheritance.git

Or add it directly to your project's package.json file and run npm install.

Note: This plugin needs an event which is not (yet?) available in Patternlab node, if it is to be used / tested the following needs to be added to ln. 360 in patternlab.js (Patternlab core lib):

patternlab.events.emit('patternlab-pattern-before-data-merge', patternlab, pattern);

About

No description or website provided.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published