Skip to content

Interface: IFioriToolbarButtonProxy

IFioriToolbarButtonProxy is a developer-facing interface that provides access to a toolbar button control for application specific customizations. In addition it provides access to the IFioriToolbarItemProxy interface.

Hierarchy

Summary

Properties

Class Properties

Currently none in this class.

Inherited Properties

Methods

Class Methods

Inherited Methods

Methods

getButtonType

▸ getButtonType(): string

Returns the ButtonType property value defined for the control.

Returns: string


getImage

▸ getImage(): string

Returns the Image property value defined for the control.

Returns: string


getImagePosition

▸ getImagePosition(): string

Returns the ImagePosition property value defined for the Button control.

Returns: string


getSemantic

▸ getSemantic(): string

Returns the Semantic property value defined for the Button control.

Returns: string


getTitle

▸ getTitle(): string

Returns the Title property value defined for the control.

Returns: string


setButtonType

▸ setButtonType(type: string): void

Sets the ButtonType property of the control. Accepted values are: "Primary", "Secondary", "Text".

Parameters:

Name Type Description
type string value to set.

Returns: void


setImage

▸ setImage(image: string): void

Sets the Image property of the Button control.

Parameters:

Name Type Description
image string value to set.

Returns: void


setImagePosition

▸ setImagePosition(imagePosition: string): void

Sets the ImagePosition property of the Button control. Accepted values are: "Leading", "Trailing".

Parameters:

Name Type Description
imagePosition string value to set.

Returns: void


setSemantic

▸ setSemantic(semantic: string): void

Sets the Semantic property of the Button control. Accepted values are: "Normal", "Tint", "Negative".

Parameters:

Name Type Description
semantic string value to set.

Returns: void


setTitle

▸ setTitle(title: string): void

Sets the Title property of the control.

Parameters:

Name Type Description
title string value to set.

Returns: void