iizunats / iizuna Goto Github PK
View Code? Open in Web Editor NEWA TypeScript Framework for non-spa pages
Home Page: https://iizunats.com/
License: MIT License
A TypeScript Framework for non-spa pages
Home Page: https://iizunats.com/
License: MIT License
replacing this.__options.selector
with this.selector
like
this.identifier
or this.getIdentifier()
Is your feature request related to a problem? Please describe.
If you want to assign several different events to the same element, you currently have to decorate the method several times.
Describe the solution you'd like
I propose the following syntax:
click keyup submit
instead of:
@EventListener('click')
@EventListener('keyup')
@EventListener('submit')
Is your feature request related to a problem? Please describe.
The current functionality of the Template is more than limited. We need a simple solution for the given problems:
Describe the solution you'd like
Every class should then extend of this class. so its a pretty big game changer.
Will be released in the next major!
Describe the solution you'd like
It would be nice to configure some templates to be persistant to allow faster page loads when the user already had downloaded the template file.
We should also allow additional configuration in cases when an error or soft 404 is shown instead of the template.
Is your feature request related to a problem? Please describe.
The folder structure is currently not scalable. For each new feature, a test file is placed in the same folder, which doubles the size of the folder and the clarity is lost.
Describe the solution you'd like
Die Ordnersturktur könnte in zukunft z.B. so aussehen:
Is your feature request related to a problem? Please describe.
it is possible to include functionality to specific elements that would break if placed on child elements.
Describe the solution you'd like
Add limit selector to component decorator. If an element does not match the selector, show a warning in the console.
Is your feature request related to a problem? Please describe.
To give potential users a better idea of whether the framework is right for them, they need a list of all supported browsers.
Describe the solution you'd like
A table with supported browsers in the README.md and an updated list of browsers that are used to test the framework.
Is your feature request related to a problem? Please describe.
There is currently no consistent approach for singletons in iizuna. dependency injection like angular already does it (as argument inside of the constructor) would solve the problem
Describe the solution you'd like
it would be nice if i create a class and define a constructor property of a component class as this class
to have an instance of this class injected into the component:
//example of simple dependency injection
class ClassName{}
class Component {
constructor(private object:ClassName){
console.log(object);//should log a new instance of ClassName into the console
}
}
//example of simple dependency injection with singletons
@Singleton()
class ClassName{}
class Component {
constructor(private object:ClassName){
console.log(object);//should log everywhere the same instance of ClassName into the console
}
}
Describe alternatives you've considered
We could also implement a Helper Class or a Factory (which we should do anyways) to get an instance of a specific class.
Expected behavior
When there is a variable like this: ${object.name}
i expect it to render the "name" property of the object.
Is your feature request related to a problem? Please describe.
If several components build on one another, they must be executed in the correct order.
Describe the solution you'd like
I was either thinking of a simple number indicating the priority, or possibly a queue of components.
Additional context
Things like EventListener (e.g. resize) must also be taken into account during implementation.
If a component omits a height during initialization that is set by another component, this sequence must also be observed for other triggers.
Is your feature request related to a problem? Please describe.
There are always problems when it comes to testing complex components.
We should think about a ways to test and debug these.
Describe the solution you'd like
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.