Code Monkey home page Code Monkey logo

angular-ellipsis's People

Contributors

edoparearyee avatar mattarau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

andrew-aladev

angular-ellipsis's Issues

Totally freezes the tab

As soon as I enter a component with snEllipsis the application freezes.
The Chrome task manager CPU raises over 130.

Env:

  • Asus ROG 2015 (i7 6700 HQ + GTX960M + 16GB RAM DDR4)
  • Chrome 65.0.3325.181 x64

@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**

Behaviour with angular-universal

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.

NPM version mismatch causing build error

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.