🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

Structure: Title is required

Certain nodes within the desk structure requires a title. The title is used mainly for presentation concerns, but will also be used to generate a node ID if one is not given.

Setting a title can be done by calling the title() method:

.filter('_type == $type') .params({type: 'car'})

Was this article helpful?