All Projects → quasarframework → quasar-ui-qactivity

quasarframework / quasar-ui-qactivity

Licence: MIT license
Create activity timeline

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
Sass
350 projects

Projects that are alternatives of or similar to quasar-ui-qactivity

quasar-manage
基于 Quasar-cli 的中后台前端解决方案
Stars: ✭ 62 (+63.16%)
Mutual labels:  quasar-framework, quasar
nuxt-quasar
Nuxt module for the Quasar Framework
Stars: ✭ 36 (-5.26%)
Mutual labels:  quasar-framework, quasar
alighieri
A distraction-free tool for novelists and writers
Stars: ✭ 105 (+176.32%)
Mutual labels:  quasar-framework, quasar
issue-blog
基于 GitHub API 的博客工具,尽情享受 GitHub Issue 带来的便利吧。
Stars: ✭ 44 (+15.79%)
Mutual labels:  quasar-framework, quasar
fd-vue-webapp
A Vue.js web application for Freedomotic Open IoT framework
Stars: ✭ 63 (+65.79%)
Mutual labels:  quasar-framework, quasar
starter-kit
📊 A complete dashboard built on laravel and quasar abstractions, ready to be used
Stars: ✭ 20 (-47.37%)
Mutual labels:  quasar-framework, quasar
Api-Doc
A Technology for Rest API Documentation 💻 📜 "Dockerized"
Stars: ✭ 14 (-63.16%)
Mutual labels:  quasar-framework, quasar
stepmania-song-manager
Download and update song packs for StepMania with ease.
Stars: ✭ 23 (-39.47%)
Mutual labels:  quasar-framework, quasar
quasar-tiptap
A modern WYSIWYG rich-text editor built on top of tiptap and Quasar for Vue.js.
Stars: ✭ 254 (+568.42%)
Mutual labels:  quasar
CensusD3
interactive d3.js v.4 maps and graphs data viz of US census data from census.gov
Stars: ✭ 13 (-65.79%)
Mutual labels:  quasar-framework
BlazorTimeline
Responsive, vertical timeline component.
Stars: ✭ 56 (+47.37%)
Mutual labels:  timeline-component
quasar-ts
Quasar app with full typescript support, jest testing and wallaby support.
Stars: ✭ 21 (-44.74%)
Mutual labels:  quasar
YobotWebInterface
🌸A good-looking and easy-to-use yobot interface
Stars: ✭ 16 (-57.89%)
Mutual labels:  quasar
skeleton-quasar
Exemplo simples de skeleton para o Quasar Framework
Stars: ✭ 40 (+5.26%)
Mutual labels:  quasar-framework
vue-cli-plugin-quasar
Quasar Framework Vue CLI plugin
Stars: ✭ 66 (+73.68%)
Mutual labels:  quasar-framework
quasar-epub-reader
📚 👓 An epub reader made with quasar framework and epubjs
Stars: ✭ 22 (-42.11%)
Mutual labels:  quasar-framework
quasar-hackernews
HackerNews clone built with Vue 2.0, vue-router & vuex & Quasar Framework, with server-side rendering
Stars: ✭ 25 (-34.21%)
Mutual labels:  quasar-framework
quasar-testing
Testing Harness App Extensions for the Quasar Framework 1.0+
Stars: ✭ 142 (+273.68%)
Mutual labels:  quasar-framework
dashblocks-template
Dashblocks Vue Material Admin Template
Stars: ✭ 143 (+276.32%)
Mutual labels:  quasar-framework
chartjs-with-quasar-framework
Using ChartJs Library with Quasar Framework Demo
Stars: ✭ 28 (-26.32%)
Mutual labels:  quasar-framework

QActivity (@quasar/qactivity)

@quasar/quasar-ui-qactivity @quasar/quasar-app-extension-qactivity npm @quasar/quasar-app-extension-qactivity GitHub code size in bytes GitHub repo size in bytes

QActivity is an UI App Extension for Quasar Framework v2. It will not work with legacy versions of Quasar Framework.

Info

QActivity is the smaller sister to QTimeline and can be used to create an activity list.

One of the most important actions is the ability to adjust the QActivity bar distance and the QActivityItem icon distance. This is needed when you adjust margins, padding or icon size to make everything line up properly. Therefore, when making an activity list, it is recommended to keep everything the same. If you do use different icon sizes, you will need to adjust the icon-distance property appropriately for each QActivityItem.

Live Demo - live docs and examples

Install

To add this App Extension to your Quasar application, run the following (in your Quasar app folder):

quasar ext add @quasar/qactivity

Describe

You can use quasar describe QActivity or quasar describe QActivityItem

Example Code

Be sure to check out the docs for more examples.

<div class="q-pa-md q-gutter-sm">
  <q-card class="q-pa-sm" style="width: 100%;">
    <q-activity
      dense
      bar-color="red"
      bar-width="1px"
      bar-distance="15px"
      :class="itemClass"
    >
      <q-activity-item
        icon="photo"
        icon-color="blue"
        icon-text-color="white"
        icon-size="1rem"
        icon-font-size="0.75rem"
        icon-square
        style="padding-bottom:5px;padding-top:5px;"
      >
        <q-parallax
          :height="100"
          src="https://cdn.quasar.dev/img/parallax2.jpg"
        />
      </q-activity-item>
      <q-activity-item
        icon="list"
        icon-color="orange-8"
        icon-text-color="white"
        icon-size="1rem"
        icon-font-size="0.75rem"
        icon-square
        :class="itemClass"
        style="padding-bottom:5px;padding-top:5px;"
      >
        <q-item>
          <q-item-section>
            <q-item-label>QItem</q-item-label>
            <q-item-label caption lines="2">Secondary line text. Lorem ipsum dolor sit amet, consectetur adipiscit elit.</q-item-label>
          </q-item-section>

          <q-item-section side top>
            <q-item-label caption>5 min ago</q-item-label>
            <q-icon name="star" color="yellow" />
          </q-item-section>
        </q-item>
      </q-activity-item>
      <q-activity-item
        v-for="(item, index) in data"
        :key="index"
        :icon="item.icon"
        :icon-color="item.iconColor"
        :icon-text-color="item.iconTextColor"
        :icon-size="item.iconSize"
        :icon-font-size="item.iconFontSize"
        :icon-square="item.iconSquare"
        :icon-rounded="item.iconRounded"
        :icon-image="item.iconImage"
        :class="listClasses(index)"
      >
        <div class="full-width row justify-evenly">
          <div class="inline-block vertical-middle middle-text col">
            {{ item.text }}
          </div>
          <div class="inline-block vertical-middle side-text text-right q-pr-sm col col-shrink" style="min-width: 100px;">
            {{ item.time }}
          </div>
        </div>
      </q-activity-item>
    </q-activity>
  </q-card>
</div>

QActivity Vue Properties

Vue Property Type Description
dense Boolean Dense mode; occupies less space
bar-color String CSS color (no Quasar colors allowed here)
bar-width String Size in CSS units, including unit name
bar-distance String Size in CSS units, including unit name

QActivity has no events or methods. It has a single "default" slot. You can put anything into this slot, but QActivityItem is expected.

QActivityItem Vue Properties

Vue Property Type Description
icon Boolean Icon name following Quasar convention; make sure you have the icon library installed
icon-color String Color name for icon from the Quasar Color Palette
icon-text-color String Color name for icon text from the Quasar Color Palette
icon-size String Size in CSS units, including unit name
icon-font-size String Size in CSS units, including unit name
icon-square Boolean Removes border-radius so borders are squared
icon-rounded Boolean Applies a small standard border-radius for a squared shape of the component
icon-image String Path to image to use. If used, do not also use icon, icon-color, icon-text-color or icon-font-size
icon-distance String Size in CSS units, including unit name. Used to help center icons on the bar

QActivityItem has no events or methods. It has a single "default" slot. You can put anything into this slot.

Donate

If you appreciate the work that went into this, please consider donating to Quasar or Jeff.

License

MIT (c) Jeff Galbraith [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].