Commit 1ee46926 authored by Kevin Yumang's avatar Kevin Yumang

SERV-2286 - example documentation

parent 69bb22d6
...@@ -3,19 +3,36 @@ ...@@ -3,19 +3,36 @@
@section('Limitless::Content') @section('Limitless::Content')
@php {{-- Description --}}
$example = base64_decode("QExpbWl0bGVzczo6RXhhbXBsZQ=="); @Limitless::ElementCardStart(['title' => "Example", 'icon' => 'icon-exclamation'])
@endphp <p>Example Div element with custom javascript and stylesheet files.</p>
@Limitless::ElementCardStop
{{-- Elements --}}
@Limitless::ElementCardStart(['title' => "Elements", 'icon' => 'icon-grid5'])
@Limitless::ElementCardStart(['title' => "Example"])
<p>Example Div element with custom javascript and stylesheet files.</p>
@Limitless::Divider
</br>
<h6>Parameters : NONE</h6>
@Limitless::ElementCardStart(['title' => "Documentation", 'icon' => 'icon-file-text3', 'collapsable' => true, 'removeable' => false, 'extra' => ['style' => 'position:relative;', 'id' => 'elemento1', 'class' => 'card'] ])
Description for example element here.
@Limitless::ElementCardStop @Limitless::ElementCardStop
@Limitless::ElementCardStart(['title' => "Example Sample Output", 'icon' => 'icon-file-empty' ] ) @Limitless::ElementCardStop
{{-- Sample Output --}}
@Limitless::ElementCardStart(['title' => "Sample Output", 'icon' => 'icon-display4' ] )
@Limitless::Example @Limitless::Example
@Limitless::ElementCardStop @Limitless::ElementCardStop
@Limitless::ElementCardStart(['title' => "Example Syntax", 'icon' => 'icon-file-empty' ] ) @php
$example = base64_decode("QExpbWl0bGVzczo6RXhhbXBsZQ==");
@endphp
{{-- Sample Code --}}
@Limitless::ElementCardStart(['title' => "Sample Code", 'icon' => 'icon-circle-code' ] )
@Limitless::Codemirror([ 'language' => 'javascript', 'theme' => 'zenburn', 'value' => $example ]) @Limitless::Codemirror([ 'language' => 'javascript', 'theme' => 'zenburn', 'value' => $example ])
@Limitless::ElementCardStop @Limitless::ElementCardStop
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment