0.2.15 • Published 2 years ago

garbageui v0.2.15

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

What is it

This is a component library You can add it to your project to try using him,

user

npm install garbageui
import garbageui from "garbageui";
import 'garbageui/dist/garbageui.css'
Vue.use(garbageui);

Then....

j-button..

<j-button></j-button>
You can add type or plain or round or circle and disable to tags,
It is now in the update phase and only finishes the button,
<j-button type="primary">primary Button</j-button>

j-dialog..

<j-dialog></j-dialog>
You can use slots to configure the title or body or footer of the dialog
You can also pass in top(distance from top), or pass in width
You can control the animation when the dialog appears by entering the direction(top,bottom,left,right), or select the default without typing
Like this
    <j-dialog title="title" direction="" top="" width="" :visible.sync="visible">
     <!-- <template v-slot:title>
        <span>title</sapn>
      </template> -->
      <span>内容</span>
      <template v-slot:footer>
        <j-button @click="visible = false"> Confirm </j-button>
        <j-button @click="visible = false"> close </j-button>
      </template>
    </j-dialog>
    <j-button round type="info" @click="visible = true">open dialog</j-button>

        <script>
            data() {
              return {
                  visible: false,
              };
        </script>
  },

j-input..

<j-input></j-input>
If you want to disable the input box, you can add Disable to the tab
Like this
<j-input type="password" disable name="" placeholder="Please enter"></j-input>

<j-input type="password" v-model="password" name="" placeholder="Please enter" width:"150px"></j-input>

        <script>
            data() {
              return {
                  password: "",
              };
        </script>

j-card..

<j-card></j-card>

    <j-card title="Card title">
      <!-- <j-card-image :src="url" /> -->
      <j-card-list-title>
        <div>Card</div>
      </j-card-list-title>
      <j-card-list-item>
        <div>Greyhound divisely hello coldly fonwderfully</div>
      </j-card-list-item>
      <j-card-list-actions>
        <j-button type="success">BUTTON</j-button>
        <j-button>BUTTON</j-button>
      </j-card-list-actions>
    </j-card>

j-switch..

  <j-switch></j-switch>

  <j-switch   @change="handleChange"></j-switch>

  You can set the color in the tags
  active-color="" inactive-color=""  circle-active-color ="" circle-inactive-color=""
  methods: {
    handleChange(e){
      console.log(e);
    }
  },

j-carousel..

To: jiacheng_niii@outlook.com

Customize configuration

See Configuration Reference.

0.2.15

2 years ago

0.2.14

2 years ago

0.2.13

2 years ago

0.2.12

2 years ago

0.2.11

2 years ago

0.2.10

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago