incuna / angular-input-fields Goto Github PK
View Code? Open in Web Editor NEWAngular library for common input fields
License: MIT License
Angular library for common input fields
License: MIT License
templates/type/my-input.html
should be templates/angular-input-fields/type/my-input.html
so that a project with a templates path of type/
doesn't get clobbered by this library, or vice versa: this library doesn't clobber a project's type/
templates path.
This will be a breaking change.
Having template files separate to the js src is confusing, especially when looking around this module's files in a file browser or terminal.
Also it would be nice to have templates/aif/select-input.html
instead of templates/aif/select-input/template.html
.
Before
angular-input-fields/
└── src
├── scripts
│ ├── init.js
│ ├── select-input
│ │ ├── directives.js
│ │ └── templates.js
│ └── text-input
│ ├── directives.js
│ └── templates.js
└── templates
└── aif
├── select-input
│ └── template.html
└── text-input
└── template.html
after
angular-input-fields/
└── src
├── angular-input-fields.js
└── aif-text-input
├── directives.js
├── templates.js
└── templates
└── aif
├── select-input.html
└── text-input.html
This would work nicely with #17
dist/angular-input-fields.js
= all scripts concatenateddist/angular-input-fields.min.js
= all scripts concatenated and minifieddist/aif-<module>.js
= all scripts concatenateddist/aif-<module>.min.js
= all scripts concatenated and minifiedwhere is each module available in this, apart from angular-input-fields
.
@maxpeterson @grahamgilchrist @henrahmagix @Minglee01 Please take a look at this new repo. Any suggestions welcome.
Split from #1
Move each directive to it's own module in it's own file.
This makes it easier/more obvious to manage dependencies per directive, but also means we can selectively import the directives we need per project.
I think we can still build to a single dist/
file, as although it will declare all the directive modules, we can selectively import modules.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.