Coder Social home page Coder Social logo

beeman / ngx-split Goto Github PK

View Code? Open in Web Editor NEW
17.0 3.0 0.0 7.5 MB

This fork is now obsolete, please use https://github.com/angular-split/angular-split

Home Page: https://github.com/angular-split/angular-split

License: Apache License 2.0

TypeScript 89.59% JavaScript 3.12% HTML 1.34% CSS 5.96%
angular split split-pane flexbox

ngx-split's Introduction

ngx-split's People

Contributors

beeman avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

ngx-split's Issues

Cant use it in Angular 10

Thank you for forking & updating the module.

But I am having problems getting it to work in Angular 10.

First, my package.json to give you idea of what I have (It's a bare-bones install):

{
  "name": "mlalgo",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "~10.0.4",
    "@angular/common": "~10.0.4",
    "@angular/compiler": "~10.0.4",
    "@angular/core": "~10.0.4",
    "@angular/forms": "~10.0.4",
    "@angular/platform-browser": "~10.0.4",
    "@angular/platform-browser-dynamic": "~10.0.4",
    "@angular/router": "~10.0.4",
    "ngx-split": "^2.0.0",
    "rxjs": "~6.5.5",
    "tslib": "^2.0.0",
    "zone.js": "~0.10.3"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.1000.3",
    "@angular/cli": "~10.0.3",
    "@angular/compiler-cli": "~10.0.4",
    "@types/node": "^12.11.1",
    "@types/jasmine": "~3.5.0",
    "@types/jasminewd2": "~2.0.3",
    "codelyzer": "^6.0.0",
    "jasmine-core": "~3.5.0",
    "jasmine-spec-reporter": "~5.0.0",
    "karma": "~5.0.0",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage-istanbul-reporter": "~3.0.2",
    "karma-jasmine": "~3.3.0",
    "karma-jasmine-html-reporter": "^1.5.0",
    "protractor": "~7.0.0",
    "ts-node": "~8.3.0",
    "tslint": "~6.1.0",
    "typescript": "~3.9.5"
  }

}

Next, I included it in app.module.ts:
2020-07-21_00h00_58

But I get the error "ui-split' is not a known element":
2020-07-21_00h02_50

The Error:
2020-07-21_00h03_26

Please provide help regarding this problem.

Running Jest test fails because it fails to load split.component.scss

After adding "NgxSplitModule" to the TestBed configuration i always get the same error saying that the split component .scss can't be loaded which causes my tests to fails. Apart from that even after correctly adding the NgxSplitModule to the module of my component visual studio always complains that "ui-split" is not a know element, same with "ui-split-area", the same thing does not happen with the angular-split library as switching the modules and corresponding selectors shows different behaviors.
I believe that somehow the npm package does not seem to be correctly created which causes these problems with identifying components and selectors

Images:
image

image

Move styles into separate .scss files

Currently, there is no clean way to override the styles.

To make the usage of this library more flexible, the style should be taken out and offered as .scss files.

  • Remove styles to separate file
  • Clean up usage of ng-deep and host where possible
  • Offer dark mode
  • Offer way to get tiny borders.

Can't use in Angular 8

Having issue with using it on angular 8 ("@angular/core": "^8.2.0").
Getting this error during project compilation:
ERROR in C:/project/node_modules/ngx-split/fesm5/ngx-split.js 871:12-21 "export 'ɵɵadvance' was not found in '@angular/core' ERROR in C:/project/node_modules/ngx-split/fesm5/ngx-split.js 865:32-43 "export 'ɵɵloadQuery' was not found in '@angular/core'

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.