Skip to content

Commit

Permalink
Update reference.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
euu2021 authored Dec 10, 2023
1 parent 56e4af6 commit db3e716
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/docs/scripting/reference.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -461,3 +461,23 @@ node.icons.urls
// Returns the number of icons that exist in the selected node.

node.icons.size()

/*
Icons
*/

// Adds the icon "button_ok" to the node.

node.icons.add("button_ok")

// Removes all the icon that currently exist in the node.

node.icons.clear()

// Removes the icon at index 1.

node.icons.remove(1)

// Removes the first "button_ok" icon at that exists in the node.

node.icons.remove("button_ok")

0 comments on commit db3e716

Please sign in to comment.