Skip to content

get visibleNodeIds from chart object in typescript #682

@vyshnavmk-lumel

Description

@vyshnavmk-lumel

Hi,
I was trying to get visibleNodeIds from chart object,
but that property was not in type definition file so it was throwing error.
I' m currently using typecast to accessing it like below:

const chart = new OrgChart(container, options);
chart.visibleNodeIds
// throws error

const chartObj : any = chart ;
chartObj.visibleNodeIds
// works fine

Can we add it in type definition file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions