DocgenExample


    import DocgenExample from '@sum.cumo/nuxt-styleguide-demo-library/components/DocgenExample.vue';
  

Demo:

Default

slot: header
slot: footer


    <docgen-example>
  <template slot="header">slot: header</template>
  <template slot="footer">slot: footer</template>
</docgen-example>
  

Meta Warning!

This component overuses documentation and its main purpose is to demonstrate what is technically possible.

Tags

  • @version 1.0.5
  • @author Rafael
  • @since Version 1.0.1

Props

msg [string | number]

object/array defaults should be returned from a factory function

Tags

  • @version 1.0.5
  • @since Version 1.0.1
  • @see See Wikipedia for a list of color names
  • @link See Wikipedia for a list of color names

v-model [string]

Model example

Tags

  • @model true

data [array]

describe data

Tags

  • @version 1.0.5

columns [array]

get columns list

filterKey [string]

filter key

Tags

  • @ignore true

Slots

header

Use this slot header

footer

Use this slot footer

Events

success [object]

Success event.

Methods

sortBy (key: string)

Sets the order

Return Value [string]

Test

Parameters

  • key[string]

    Key to order

Tags

  • @access public
  • @version 1.0.5
  • @since Version 1.0.1