How to use the uikit.offcanvas function in uikit

To help you get started, we’ve selected a few uikit examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github unite-cms / unite-cms / src / Bundle / AdminBundle / Resources / assets / vue / components / TipTap / CustomBlock / CustomBlock.vue View on Github external
saveConfig() {
                this.updateAttrs(Object.assign({}, this.options));
                UIkit.offcanvas(this.$refs.configCanvas).hide();
            },
            addChild() {
github unite-cms / unite-cms / src / Bundle / AdminBundle / Resources / assets / vue / components / TipTap / CustomBlock / CustomBlock.vue View on Github external
openConfigModal() {
                UIkit.offcanvas(this.$refs.configCanvas).show();
            },
            onConfigModalHide(event) {
github unite-cms / unite-cms / src / Bundle / AdminBundle / Resources / assets / vue / components / AppNavigation.vue View on Github external
'$route'(){
                UIkit.offcanvas(this.$refs.offcanvas).hide();

                if(this.$route.params.viewGroup) {
                  this.group = this.$route.params.viewGroup;
                }

                if(!this.group && this.viewGroups.length > 0) {
                    this.group = this.viewGroups[0];
                }
            },
            viewGroups(groups) {