Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 1, 2022. It is now read-only.

Support Boostrap 4 in settings menu #87

Open
drount wants to merge 1 commit into OneWayTech:master
base: master
Choose a base branch
Loading
from drount:master

Conversation

@drount
Copy link

@drount drount commented Mar 12, 2018

No description provided.

maltere and jianwu reacted with thumbs up emoji
Copy link
Collaborator

#77

Copy link

maltere commented Mar 14, 2018

I would also prefer a bootstrap4 compatible version, as I do not want to depend on old bootstrap3 for new projects, as well as I understand that bootstrap3 is still in use by many projects.

Copy link
Collaborator

make a different branch (bs4) would be better?

Copy link

roszell commented Mar 14, 2018
edited
Loading

It seems like this could be supported by adding a named/scoped slot, so that HeaderSettings could be turned off and an alternate implementation could be provided using whatever ui framework the user chooses, for example:

<div v-if="$slots.default || $slots['customHeaderSettings'] || HeaderSettings" class="clearfix" style="margin-bottom: 10px">
 <header-settings v-if="HeaderSettings" class="pull-right" :columns="columns" :support-backup="supportBackup">
 </header-settings>
 <slot />
 <slot name="customHeaderSettings" :columns="columns" :support-backup="supportBackup"
 </slot>
</div>
JsFiddle showing how a template could be provided in the named/scoped slot:
https://jsfiddle.net/g5oc1rgq/128/
jaketoolson reacted with thumbs up emoji

maltere added a commit to maltere/vue2-datatable that referenced this pull request Apr 2, 2018
This Fork is going to be a Bootstrap 4 solution.
This merge is going to add Bootstrap 4 compatability.
Maybe there has to be some more changes to the src.
Proposed in OneWayTech#87 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /