Angular-tree-component: Latest release doesn't draw node expander

Created on 20 Sep 2017  路  5Comments  路  Source: CirclonGroup/angular-tree-component

Hello,

Using the latest release(5.0.0) fixed issues I was hitting in 4.1.0 where I could not dynamically add nodes to the tree following the documentation for it. After the update call, the tree would no longer expand and nodes wouldn't be added. HOWEVER, now in 5.0.0, the first render doesn't show the node expander. I was able to repro with webpackbin here: https://www.webpackbin.com/bins/-KuUsyJeerxKIYtC6VwE

Any help appreciated.

Thanks,
Mike

Most helpful comment

The CSS styles and event handlers for these are missing. A workaround is to either downgrade to 4.1.0 or write the event handlers yourself.

All 5 comments

@mmallit

Agree!

You can add css manually to your style.css file.

@import '~angular-tree-component/dist/angular-tree-component.css'; 

Let me know output

Cheers
Abhi.

same result to me, and the import of the CSS is not working.

(I had to remove the tilde ~ otherwise it would neither compile)

The CSS styles and event handlers for these are missing. A workaround is to either downgrade to 4.1.0 or write the event handlers yourself.

@kevinpirola

Works fine for me without removing tilde ~ and it compiled too.

@import '~angular-tree-component/dist/angular-tree-component.css'; 

Updated docs with the import statement.
@kevinpirola - are you doing the import in styles.scss? Are you using angular-cli?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AbhiThakare picture AbhiThakare  路  5Comments

salilbajaj picture salilbajaj  路  4Comments

thohoh picture thohoh  路  5Comments

Roman-Simik picture Roman-Simik  路  5Comments

CC84 picture CC84  路  4Comments