surecart
/
packages
/
blocks-next
/
build
/
blocks
/
product-quantity-input-decrease
Last commit date
block.json
4 months ago
index.asset.php
4 months ago
index.js
4 months ago
view.php
4 months ago
view.php
17 lines
| 1 | <div <?php echo wp_kses_data( |
| 2 | get_block_wrapper_attributes( |
| 3 | [ |
| 4 | 'role' => 'button', |
| 5 | 'tabindex' => '0', |
| 6 | 'data-wp-on--click' => 'callbacks.onQuantityDecrease', |
| 7 | 'data-wp-bind--disabled' => 'state.isQuantityDecreaseDisabled', |
| 8 | 'data-wp-bind--aria-disabled' => 'state.isQuantityDecreaseDisabled', |
| 9 | 'data-wp-class--button--disabled' => 'state.isQuantityDecreaseDisabled', |
| 10 | 'aria-label' => esc_html__( 'Decrease quantity by one.', 'surecart' ), |
| 11 | 'data-wp-on--keydown' => 'callbacks.onQuantityDecrease', |
| 12 | ] |
| 13 | ) |
| 14 | ); ?>> |
| 15 | <?php echo wp_kses( SureCart::svg()->get( 'minus' ), sc_allowed_svg_html() ); ?> |
| 16 | </div> |
| 17 |