Angular Undo Redo 履歴ストア | ng-hub-ui-history
Signals に優しい API、トランザクション、上限、リアクティブフォーム対応を備えた Angular の undo redo 履歴ストア。
インタラクティブなサンプル
一般的な Angular のユースケースでライブラリがどのように動作するかを示すライブサンプルをご覧ください。
基本的な履歴
{
"title": "Getting Started with History",
"description": "Edit and commit to create undo/redo entries."
}ネストされたオブジェクトの履歴
{
"id": "invoice-1",
"customer": {
"name": "Acme Corp",
"city": "Madrid"
},
"lines": [
{
"name": "Support plan",
"quantity": 1,
"unitPrice": 150
}
]
}リアクティブフォームの監視
{
"name": "Maria",
"email": "maria@demo.local",
"role": "Editor"
}トランザクション + 制限
Pointer: -1 / Entries: 0 / Bytes: 0
{
"id": "transaction-editor",
"title": "Release notes draft",
"content": "Initial draft content.",
"tags": [
"draft"
]
}