//~OPTIONS
{
  extends:          "fcfControls:templates/view.tmpl",
  clientRendering:  true,
  lockTemplate:     false,
}
//~ARGUMENTS
{
  value:    "content",
  width:    false,
  height:   "8em",
  autofocus: false,
}

//~TEMPLATE
<textarea @{{args.autofocus ? "autofocus" : ""}}@
          style="@{{fcf.styleToString("width", args.width)}}@ @{{fcf.styleToString("height", args.height)}}@"
          class="@{{decor.textareaClass}}@"
          fcfEventInput="wrapper.onInput(event)"
          fcfEventKeypress="wrapper.onKeyPress(event)"
          >%{{ render.write(fcf.encodeHtml(args.value)); }}%</textarea>
