Sindbad~EG File Manager

Current Path : /home/sarayaglobal/sarayamystair.in/templates/yootheme/js/
Upload File :
Current File : /home/sarayaglobal/sarayamystair.in/templates/yootheme/js/main.js

import UIkit from 'uikit';
import {Header, Navbar, Sticky} from './header';
import {isRtl, ready, swap} from 'uikit-util';

UIkit.component('Header', Header);
UIkit.mixin(Sticky, 'sticky');
UIkit.mixin(Navbar, 'navbar');

if (isRtl) {

    const mixin = {

        created() {
            this.$props.pos = swap(this.$props.pos, 'left', 'right');
        }

    };

    UIkit.mixin(mixin, 'drop');
    UIkit.mixin(mixin, 'tooltip');
}

ready(() => {

    const {$load = [], $theme = {}} = window;

    function load(stack, config) {
        stack.length && stack.shift()(
            config, () => load(stack, config)
        );
    }

    load($load, $theme);
});

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists