Frontmatter
| id | 8227 |
| title | [Neural Link] Implement toJSON in button.Base |
| state | Closed |
| labels | enhancementaiarchitecture |
| assignees | tobiu |
| createdAt | Dec 31, 2025, 2:30 PM |
| updatedAt | Dec 31, 2025, 2:38 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8227 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8200 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 31, 2025, 2:38 PM |
[Neural Link] Implement toJSON in button.Base
tobiu added parent issue #8200 on Dec 31, 2025, 2:30 PM
tobiu assigned to @tobiu on Dec 31, 2025, 2:30 PM

tobiu
Dec 31, 2025, 2:36 PM
Input from Gemini:
✦ Implemented
toJSON()insrc/button/Base.mjs. The method serializes:
badgePositionbadgeTexthandler(string or 'function')iconClsiconColoriconPositionpressedroutetexturlurlTarget
tobiu closed this issue on Dec 31, 2025, 2:38 PM
Objective: Implement the
toJSONmethod insrc/button/Base.mjs.Schema: The method should return an object containing (in addition to
component.Baseproperties):badgePositionbadgeTexthandler(serialize string value, or "function" if it is a function)iconClsiconColoriconPositionpressedroutetexturlurlTargetContext: This is part of the Neural Link serialization epic.