How to use the k-link-field in a Panel Plugin

I’d like to build a plugin and use the newly introduced k-link-field.
I only found this Markup where i already added the options.

      <k-link-field
        required="true"
        :value="link"
        name="targetlink"
        label="Targetlink"
        :options="['url', 'page']"
        @input="link = $event"
      />

is there any example on how to get the value from the input and how to set up the value in the vue file? Can anyone point me to the correct docs with a example?

      <k-link-field
        required="true"
        :value="linkvalue"
        name="targetlink"
        label="Targetlink"
        :options="['url', 'page']"
        @input="linkvalue = $event"
      />

and

this.linkvalue

worked