How to use the uikit.dropdown 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 / CoreBundle / Resources / webpack / vue / field / Location.vue View on Github external
mounted() {
            this.dropdown = UIkit.dropdown(this.$el.querySelector('*[uk-dropdown]'));
        },
        methods: {
github polonel / trudesk / src / client / components / Dropdown / DropdownTrigger.jsx View on Github external
componentDidMount () {
    if (this.drop) {
      UIkit.dropdown(this.drop, {
        mode: this.props.mode,
        pos: this.props.pos,
        offset: this.props.offset
      })
    }
  }
github unite-cms / unite-cms / src / Bundle / CoreBundle / Resources / webpack / vue / field / State.vue View on Github external
mounted() {
            this.dropdown = UIkit.dropdown(this.$el.querySelector('.transitions-dropdown'), {
                mode: 'click',
                delayHide: 0
            });
        },
        methods: {
github unite-cms / unite-cms / src / Bundle / AdminBundle / Resources / assets / vue / components / AppNavigation.vue View on Github external
selectGroup(group) {
                this.group = group;

                if(this.$refs.viewGroupSelect) {
                    UIkit.dropdown(this.$refs.viewGroupSelect).hide();
                }
            },