NorthwoodsSoftware / GoJS

JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
http://gojs.net
Other
7.8k stars 2.86k forks source link

Missing documentation property #171

Closed ba2sik closed 2 years ago

ba2sik commented 2 years ago

At lineHeight in TextBlock, it refers to the property lineCount, which does not exist.
Instead, it says {#lineCount}, with no valid hash link.

Does this property actually exist? (Sounds like a great way to deal with overflowed text, instead of the old method

simonsarris commented 2 years ago

Yes, it exists: https://gojs.net/latest/api/symbols/TextBlock.html#lineCount (actually, if you scroll up from lineHeight, you'll see it)

Both those properties have a typo in their docs. This will be fixed in the next release. Thank you.