web-js
web-js copied to clipboard
A js library for controlling your components from your templating engine like twig.
This is an addition to the previously merged pull request (#32) which provides the truncate js component. This pull request adds proper styling for truncated elements.
https://codesandbox.io/s/loving-varahamihira-sv8jj Focus: - [x] Strip the core to basic functionality - [x] Do not require inline JavaScript (CSP) - [x] Provide Starters based on usages (dataStarter, mutationStarter) - [x] Provide...
For better autocomplete provide typescript types for all methods of the web js core.
Components which toggle modifier classes on some elements should be refactored to make them also work, if the element doesn't have a class. The following code snippet does exactly that....
Currently the expand is used for 2 usecases, overlays and things to be open or add a class to it. It is controlled currently over the `closeOnEsc` if it should...
Currently the truncate component has a requirement to jquery. The core components should not longer use jquery as dependency and so it should be avoided.
It should not be hard to build with raw js or jquery a infinite scroll component.
Currently services and components are handled in the [core.js](https://github.com/massiveart/web-js/blob/v1.5.0/src/core.js). As services are only used when you try to set informations like api tokens from the backend to them it would...
There should be a dropzone component added based on https://github.com/sulu/SuluFormBundle/blob/master/Resources/doc/dropzone.md ## TODO - [ ] `form-dropzone` component - [ ] optional also include a `form-dropzone-jquery-validation`