semantic-ui

Semantic UI dropdown - display image as icon?

主宰稳场 提交于 2019-12-11 05:53:59
问题 In https://jsfiddle.net/hodtfkys/3/ , how can I get it to always display the image as shown in http://jsfiddle.net/t9vfxo5t/ , not just when the user drops down the list? Image only when dropdown clicked: <div class='ui icon selection dropdown'> <input name='DropDownListCategoryClone' type='hidden'> <i class='dropdown icon'></i> <div class='default text'> Male </div> <div class='menu'> <div class='item' data-text='Male' data-value='male'> <img class='ui image' src='http://icons.iconarchive

Tabulator - Add menu button to column header

半城伤御伤魂 提交于 2019-12-11 04:41:53
问题 I am fairly new to JavaScript and am currently learning how to work with Tabulator (which is working quite nicely aside from this problem). I want to add a menu button to every column header, which then opens a dropdown menu. From this menu the user should have the ability to select "Group By" and then have the table group data using the selected column. The button in question would be: <div class="ui icon top left pointing dropdown button" id=dropdown> <i class="bars icon"></i> <div class=

Way to import small parts of semantic ui?

百般思念 提交于 2019-12-11 04:39:59
问题 I'd like to use specific modules from semantic-ui , https://semantic-ui.com/modules/sticky.html Suppose I also use other frameworks mainly (such as bootstrap). I wouldn't want to include the whole semantic-ui just for the one module I need. Is there a way to import (include..) only the specific modules I need from semantic-ui? 回答1: Just simply include .css file and .js (if it's available) file of the specific component. Here is an example with a CDN: <link rel="stylesheet" href="https://cdnjs

Is there a way to build multiple semantic-ui themes in the same project?

我们两清 提交于 2019-12-11 04:25:22
问题 I'm trying to create a prototype at the moment and keep running into walls. I'm working on a project where we hope to have one code base that all of our end-users use and where the organization that user is affiliated with will determine the skin(css file) that gets applied to the site. Semantic-UI seems like a great fit for this as it has the concept of themes and a build process around it. I wanted to tap into the power of this build process without having to completely rewrite it. Is there

semantic ui grid - display full width of column, after “computer only” columns is hidden

妖精的绣舞 提交于 2019-12-11 04:25:01
问题 For computer sized screen I have an additional column on the left to display some optional content. When the screen size goes under the breaking point of 991px, that column hides using semantic-ui's native css classes. In this case the column with the main content should display in full width. I was wondering if there is a "native" semantic-ui way of achieving this? <div class="ui grid container"> <div class="four wide computer only column"> (Optional content only for computers sized screen)

Shiny semantic Ui elements in renderUI

泪湿孤枕 提交于 2019-12-11 03:23:21
问题 This question is based on my previous about adding ui semantic elements in shiny apps. Here the links, to recent questions: Rating Stars in R shiny app, How to flip up shapes in shiny by clicking a button? I am able to display rating stars and shapes if they are constructed directly in UI.R. However, I need them within a renderUi, since I have a login page and use observe for the UI. Here example code: Ui.R: shinyUI(semanticPage( shinyjs::useShinyjs() ,uiOutput("test"))) Server.R: library

Rating Stars in R shiny app

旧巷老猫 提交于 2019-12-10 23:16:00
问题 I am trying to add some elements to my shiny app to make it look better. Therefore, I am using the new shiny.semantic package which allows to add semantic UI elements in an easy way. One finds examples for shiny semantic elements here: http://demo.appsilondatascience.com/shiny.semantic/components/ I wanted to add a rating stars UI with the following code: library(shiny) #devtools::install_github("Appsilon/shiny.semantic") library(shiny.semantic) ui <- function() { shinyUI( semanticPage( title

gulp : “TypeError: print is not a function”

前提是你 提交于 2019-12-10 18:04:22
问题 I am trying to build Semantic-UI with gulp in a directory, but I get having these errors : root@ks4000003:/var/www/mg.guylabbe.ca/web/inc/semantic# gulp build [10:36:53] Using gulpfile /var/www/clients/client1/web179/web/inc/semantic/gulpfile.js [10:36:53] Starting 'build'... Building Semantic [10:36:53] Starting 'build-javascript'... Building Javascript [10:36:54] 'build-javascript' errored after 19 ms [10:36:54] TypeError: print is not a function at Gulp.module.exports (/var/www/clients

Semantic UI: right aligned/floated button

核能气质少年 提交于 2019-12-10 16:38:54
问题 How do I align a button correctly using Semantic-UI at the right? I've tried things like: <div class="ui mini labeled input"> <div class="ui label">Description</div> <input placeholder="Privat" type="text"> </div> <div class="ui floated right red mini button"> Remove </div> <br /> But the button is always below the input field. Could you explain (in addition to the correct solution) why this happens? Do I have to use a grid? Second question beside this: Two labeled inputs like <div class="ui

Semantic-UI Dynamic Dropdown

北城以北 提交于 2019-12-10 13:32:46
问题 Got a problem with semantic-ui dropdown. I've been using Semantic-Ui, and wanted to change the dropdown item dynamically. That is, when i choose the value from the first dropdown, the second dropdown's item will change. But the thing is, when the items are changed, the second dropdown cannot be chose, the value won't change. The dropdown won't collapse back. The HTML The First Dropdown <div id="programmetype" class="ui fluid selection dropdown"> <input type="hidden" name="programmetype"> <div