src/lib/components/hyperlink/hyperlink.component.ts
Angular Component for the Hyperlink Control.
ControlComponent
selector | wm-hyperlink |
styleUrls | ./hyperlink.component.scss |
templateUrl | ./hyperlink.component.html |
Properties |
|
Methods |
Inputs |
Outputs |
Accessors |
constructor(refChange: ChangeDetectorRef, render2: Renderer2, elem: ElementRef, webComponents: WebComponentsService, bringTopServ1: BringTopService)
|
||||||||||||||||||
Creates an instance of HyperlinkComponent.
Parameters :
|
cssClass | |
Type : string
|
|
Gets/sets the cssClass property. |
enabled | |
Type : boolean
|
|
Gets/sets the enabled property. |
navigateUrl | |
Type : string
|
|
Gets/sets the navigateUrl property. |
text | |
Type : string
|
|
Gets/sets the text property. |
NavigateToUrl | |
Type : EventEmitter<EventData>
|
|
NavigateToUrl event emitter. |
clickHandler | ||||||
clickHandler(event: any)
|
||||||
Handler for the click.
Parameters :
Returns :
void
|
getAttributesObject |
getAttributesObject()
|
Returns the attributes object from the model.
Returns :
any
{*} |
getClasses |
getClasses()
|
Returns the css classes to be applied.
Returns :
string
{string} |
triggerNavigateToPage | ||||||
triggerNavigateToPage(event: any)
|
||||||
Decorators :
@serverEvent('NavigateToUrl')
|
||||||
Triggers the NavigateToUrl emitter.
Parameters :
Returns :
void
|
Private cssClassInternal |
Type : string
|
Default value : ''
|
Property to save the cssClass value. |
Private enabledInternal |
Default value : true
|
Property to save the enabled value. |
Private navigateUrlInternal |
Type : string
|
Default value : ''
|
Property to save the navigateUrl value. |
Private textInternal |
Type : string
|
Default value : ''
|
Property to save the text value. |
text | ||||||
gettext()
|
||||||
settext(value: string)
|
||||||
Gets/sets the text property.
Parameters :
Returns :
void
|
navigateUrl | ||||||
getnavigateUrl()
|
||||||
setnavigateUrl(value: string)
|
||||||
Gets/sets the navigateUrl property.
Parameters :
Returns :
void
|
enabled | ||||||
getenabled()
|
||||||
setenabled(value: boolean)
|
||||||
Gets/sets the enabled property.
Parameters :
Returns :
void
|
cssClass | ||||||
getcssClass()
|
||||||
setcssClass(value: string)
|
||||||
Gets/sets the cssClass property.
Parameters :
Returns :
void
|
visible |
getvisible()
|
Gets the visible property.
Returns :
boolean
|
./hyperlink.component.scss