Refactor #4190 - For Steps
parent
a7f0366b6a
commit
b947b4860f
|
@ -70,6 +70,10 @@ export interface StepsPassThroughAttributes {
|
|||
* Defines current options in Steps component.
|
||||
*/
|
||||
export interface StepsContext {
|
||||
/**
|
||||
* Current menuitem
|
||||
*/
|
||||
item: any;
|
||||
/**
|
||||
* Index of the menuitem.
|
||||
*/
|
||||
|
|
|
@ -46,6 +46,7 @@ export default {
|
|||
getPTOptions(key, item, index) {
|
||||
return this.ptm(key, {
|
||||
context: {
|
||||
item,
|
||||
index,
|
||||
active: this.isActive(item),
|
||||
disabled: this.isItemDisabled(item)
|
||||
|
|
Loading…
Reference in New Issue