appendPlaceholder method

SnippetString appendPlaceholder(
  1. Object value, [
  2. num? number
])

Builder-function that appends a placeholder (${1:value}) to the {@linkcode SnippetString.value value} of this snippet string.

@param value The value of this placeholder - either a string or a function with which a nested snippet can be created. @param number The number of this tabstop, defaults to an auto-increment value starting at 1. @returns This snippet string.

Implementation

_i3.SnippetString appendPlaceholder(
  _i2.Object value, [
  _i2.num? number,
]) =>
    _i5.callMethod(
      this,
      'appendPlaceholder',
      [
        value,
        number ?? _i6.undefined,
      ],
    );