File

projects/components/widgets/basic/default/src/anchor/anchor.component.doc.ts

Description

The wmAnchor component defines the anchor widget.

Index

Methods
Inputs

Methods

onBlur
onBlur($event: MouseEvent, widget: any)

Callback function which will be triggered when the widget loses focus.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the anchor widget

Returns : void
onClick
onClick($event: MouseEvent, widget: any)

Callback function which will be triggered when the widget is clicked.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the anchor widget

Returns : void
onDblonClick
onDblonClick($event: MouseEvent, widget: any)

Callback function which will be triggered when the widget is double clicked.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the anchor widget

Returns : void
onDoubletap
onDoubletap($event: TouchEvent, widget: any)

Callback function which will be triggered when the double tap event is triggered on a widget.

Parameters :
Name Type Optional Description
$event TouchEvent No

DOM event on which call back is triggered

widget any No

Instance of the anchor widget

Returns : void
onFocus
onFocus($event: MouseEvent, widget: any)

Callback function which will be triggered when the widget gets focused.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the anchor widget

Returns : void
onMouseenter
onMouseenter($event: MouseEvent, widget: any)

Callback function which will be triggered when the mouse enters the widget.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the anchor widget

Returns : void
onMouseleave
onMouseleave($event: MouseEvent, widget: any)

Callback function which will be triggered when the mouse leaves the widget.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the anchor widget

Returns : void
onTap
onTap($event: TouchEvent, widget: any)

Callback function which will be triggered when the tap event occurs on anchor widget.

Parameters :
Name Type Optional Description
$event TouchEvent No

DOM event on which call back is triggered

widget any No

Instance of the anchor widget

Returns : void

Inputs

badgevalue
Type : string

This property specifies the value to be displayed along with the label of the anchor.

Bindable: true

caption
Type : string

This property specifies the label of the anchor.

Bindable: true

conditionalclass
Type : string

This property allows user to bind expression to class property.

Bindable: true

encodeurl
Type : boolean
Default value : false

This property will enable the provided URL to be encoded at run time.

hint
Type : string

Hint text is shown for the anchor widget on hover.

Bindable: false

hyperlink
Type : string

This property will be used to set the web url to redirect for anchor on the web page.

Bindable: true

iconclass
Type : string

CSS class of the icon.

Bindable: true

iconheight
Type : string

Height of the icon.

iconmargin
Type : string

Margin of the icon.

iconposition
Type : string

Property to set the position of icon in the widget.

Allowed Values: left, top, right

left: Positions icon to the left.

top: Positions icon on the top.

right: Positions icon to the right.

iconurl
Type : string

Url of the icon.

Bindable: true

iconwidth
Type : string

Width of the icon.

name
Type : string

Name of the anchor widget.

shortcutkey
Type : string

The shortcut key property specifies a shortcut key to activate/focus an element.

show
Type : boolean
Default value : true

This property will be used to show/hide the anchor widget on the web page.

Bindable: true

tabindex
Type : number
Default value : 0

This property specifies the tab order of the Anchor Widget.

target
Type : string

This property will be used to set the behavior of the anchor link on click.

Allowed Values: _blank, _self, _parent, _top

_blank: Opens link in the same frame

_parent: Opens link in a parent frame

_top: Opens link in the full body of the window

results matching ""

    No results matching ""