- 1Merchant API
- Welcome 👋
- Get Started
- 水合失败
- Authorization
- Webhooks
- Conditional Webhooks
- Security Considerations
- Multi-Language Support
- Responses
- Pagination
- Rate Limiting
- Versioning
- Change Log
- Support
- 测试
- APIs
- Orders
- Order Status
- Order Histories
- Abandoned Carts
- Order Tags
- Order Invoice
- Order Reservations
- Order Items
- Products
- Product Options
- Product Quantity
- Product Variants
- Product Tags
- Product Images
- Product Option Values
- Customer Groups
- Customers
- Digitals Product
- Categories
- Exports
- Shipments
- Shipping Companies
- Shipping Zones
- Shipping Rules
- Countries
- Product Option Templates
- Taxes
- Coupons
- Affiliates
- Order Assignment
- Special Offers
- Transactions
- Payments
- Settlements
- Settings
- Merchant
- Brands
- Reviews
- Branches
- Currencies
- SEO
- Cities
- DNS Records
- Languages
- Employees
- Advertisements
- Webhooks
- Custom URLs
- Loyalty Points
- Webhooks - Store Events
- 其他资源-Module
- 其他资源 Copy
- 2Partner Apps APIs
- 3Shipping and Fulfilment API
- 4Twilight Themes
- Getting Started
- Requirements & Review
- Files and Folders Structure
- Twig Template Engine
- Theme Architecture
- Layouts
- Pages
- Componenets
- Overview
- Home Components
- Youtube
- Fixed banner
- Testimonials
- Parallax background
- Photos slider
- Store features
- Square photos
- Fixed products
- Products slider
- Featured products - Style 1
- Featured Products - Style 2
- Featured Products - Style 3
- Brands
- Enhanced Square Banners
- Main Links
- Enhanced Slider
- Slider Products with Headers
- Latest Products
- Vertical Menu with Slider
- Product Components
- Common Components
- Change Log
- 5Twilight JS SDK
- 6Twilight Web Components
- 7Salla CLI
- 8[ Internal ] Apps APIs
- 9[Internal] AI Services APIs
- 10这是一个长长长长长长长长长长长长的文件夹
- 11这是一个长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长的文件夹 Copy
Progress Bar
<salla-progress-bar>
web component is used to convey data visually to users. It is also designed to help users quickly interpret numerical data at a glance, and can be customized according to the color and unit of the bar, as well as the unit, value, and textual representation.Example#

Usage#
HTML
SASS
Properties#
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
Color | color | Progress bar color. | string | salla.config.get('theme.color.primary', "#ffd5c4") |
Donation | donation | Pass the Donation object as a JSON string in the following format: {"target_message":null,"target_date":"2023-04-18","target_end_date":"2023-04-18","target_amount":400,"collected_amount":380,"can_donate":true} | Donation | string | undefined |
Header | header | Header Title that appears before the progress bar. | string | undefined |
Height | height | Sets the height for the wrapper. | string | "10px" |
Message | message | Subtitle text that comes under the progress bar or instead of it if the target is not set. | string | undefined |
Stripped | stripped | A stripped effect for the progress bar. | boolean | undefined |
Target | target | Progress bar's goal. | number | undefined |
Unit | unit | The unite to be added after the numbers. | string | salla.config.currency().symbol |
Value | value | The progress so far as of the goal. | number | undefined |

扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

