microsoft / design-to-code

A system of development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications.
MIT License
24 stars 6 forks source link

Update history to use a previous and next property that will be triggered when moving through the stack #169

Closed janechu closed 2 years ago

janechu commented 2 years ago

Pull Request

📖 Description

This work is necessary foundational work for #158 where the undo and redo will be moving through the history stack.

This changes the history interface, so far unused, to include a next and previous properties which will trigger depending on the direction that history is moving in the stack.

✅ Checklist

General

⏭ Next Steps