0.0.14 • Published 3 years ago

ui-comp-lib v0.0.14

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

tt-ui-comp-lib

Project setup in vue3

>> main.js
import { createApp } from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import { store } from './store'
import TT_UI_COMP_LIB from "tt-ui-comp-lib"

createApp(App).use(store).use(TT_UI_COMP_LIB, {
    store: store
}).mount('#app')

Font Awesome Usage

$ npm i --save @fortawesome/fontawesome-svg-core
$ npm i --save @fortawesome/free-solid-svg-icons
$ npm i --save @fortawesome/free-brands-svg-icons
$ npm i --save @fortawesome/vue-fontawesome@3.0.0-1

<fa icon="twitter" type="fab" class="classname"></fa>
<fa icon="align-right" class="classname"></fa>

Range Slider Usage

<ttinput-range-slider class="component_margin_size" v-model="rangeMax" :min="10" :max="90" mode="max" :ticks="9" :badge="'or more'" />

Perfect Scrollbar Usage

<ttui-perfect-scrollbar
   ref="ps"
   class="scroll-area"
   :settings="settings"
   @ps-scroll-y="scrollHandle"
   tagname="div"
 >
   <img ref="imgnode" src="../assets/image1.jpg" width="1280" height="720" />
</ttui-perfect-scrollbar>

data() {
  return {
    settings: {
      maxScrollbarLength: 60,
    },
  };
},

.scroll-area {
  position: relative;
  margin: auto;
  width: 400px;
  height: 300px;
}

More info: https://github.com/mdbootstrap/perfect-scrollbar#options

Incrementer Usage

<ttinput-incrementer v-model="increment" :min="10" :max="90" :model-value="20" />
0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago