thisissoon / angular-ellipsis Goto Github PK
View Code? Open in Web Editor NEWA simple lightweight library for Angular which removes excess text and add ellipsis symbol to end of text before text overflows container
License: MIT License
A simple lightweight library for Angular which removes excess text and add ellipsis symbol to end of text before text overflows container
License: MIT License
As soon as I enter a component with snEllipsis
the application freezes.
The Chrome task manager CPU raises over 130.
Env:
@angular/cdk: 5.2.4
@angular/cli: 1.6.3
@angular/flex-layout: 2.0.0-beta.10-4905443
@angular/material: 5.2.4
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.4.8
@angular-devkit/schematics: 0.0.52
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.3
@schematics/angular: 0.1.17
typescript: 2.4.2
webpack: 3.10.0**
Hello, I tried to use this package, and it did not produce any effect on my app. Below there is a demo that I tried to work with but with no success. Not sure if v8 would play a role on this library not working
While running on the server during universal rendering the directive raises the following error:
ERROR TypeError: Cannot read property 'split' of undefined
at EllipsisDirective.clipText
The directive should probably be a noop on the server, and only truncate text on the client.
Installed latest NPM package (1.1.2) into our Angular 4 CLI project. When building, we get the following error:
ERROR in Error: Metadata version mismatch for module node_modules/@thisissoon/angular-ellipsis/angular-ellipsis.d.ts, found version 4, expected 3
The angular-ellipsis.metadata.json file does indeed contain version 4.
Could you please fix this?
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.