Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (49 sloc) 1.26 KB
title
direction

Type: string
Default: ltr
Values: 'ltr'|'rtl'

It sets the direction of the card.

<MultiCodeEditor languages={{ React: `import Microlink from '@microlink/react'

export default () => ( ) , Vanilla:

<script> document.addEventListener('DOMContentLoaded', function (event) { microlink('a', { media: 'logo', direction:'ltr' }) }) </script>

, Jekyll: {:.card-preview data-media='logo' data-direction='ltr'} `}} />

Alternatively you can set rlt that means right-to-left

<MultiCodeEditor languages={{ React: `import Microlink from '@microlink/react'

export default () => ( ) , Vanilla:

<script> document.addEventListener('DOMContentLoaded', function (event) { microlink('a', { media: 'logo', direction:'rlt' }) }) </script>

, Jekyll: {:.card-preview data-media='logo' data-direction='rlt'} `}} />

You can’t perform that action at this time.