Skip to content

Demo for Angular Konva not working as intended #24

Open
@raparri01

Description

@raparri01

On the page for the ng2-konva library, the "Draggable Star" demo is not reflecting the item config changes within the handleDragStart and handleDragEnd functions. It appears that
ngComponent.config.next({ shadowOffsetX: 15, shadowOffsetY: 15, scaleX: ngComponent.getConfig().startScale * 1.2, scaleY: ngComponent.getConfig().startScale * 1.2, });

and

shape.to({ duration: 0.5, easing: Konva.Easings.ElasticEaseOut, scaleX: ngComponent.getConfig().startScale, scaleY: ngComponent.getConfig().startScale, shadowOffsetX: 5, shadowOffsetY: 5 });

are not being applied on drag and drop.

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