LearnNewsExamplesServices
Frontmatter
id4705
titlemain.mixin.DeltaUpdates: du_changeNodeName()
stateClosed
labels
enhancement
assigneestobiu
createdAtAug 13, 2023, 9:36 PM
updatedAtAug 13, 2023, 9:41 PM
githubUrlhttps://github.com/neomjs/neo/issues/4705
authortobiu
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtAug 13, 2023, 9:41 PM

main.mixin.DeltaUpdates: du_changeNodeName()

Closed v8.1.0 enhancement
tobiu
tobiu commented on Aug 13, 2023, 9:36 PM

@ExtAnimal would like to change tag names at run-time. We need a small algorithm to handle it.

tobiu added the enhancement label on Aug 13, 2023, 9:36 PM
tobiu assigned to @tobiu on Aug 13, 2023, 9:36 PM
tobiu
tobiu Aug 13, 2023, 9:40 PM

e.g.: a button handler could do

            handler: function(data) {
                this.vdom.tag = 'a';
                this.update()
            },
tobiu referenced in commit fe4fd6e - "main.mixin.DeltaUpdates: du_changeNodeName() #4705" on Aug 13, 2023, 9:41 PM
tobiu
tobiu Aug 13, 2023, 9:41 PM
Screenshot 2023-08-13 at 21 36 59
tobiu closed this issue on Aug 13, 2023, 9:41 PM