How to specify the default value for a vector data in custom node HTML?

For a custom node definition like this

<script type="text/javascript">
        category: 'function',
        color: '#a6bbcf',
        defaults: {
            single: {value: "single"},
            multiple: {value: [1, 2, 3, 4]}
        inputs: 2,

Will the default value for the argument multiple work?

If not, what's the standard way to supply vector data to nodes?

Have you tried it? Does it not work?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.