carbon-components-angular
Version:
Next generation components
56 lines (52 loc) • 1.71 kB
TypeScript
/**
*
* carbon-angular v0.0.0 | link.directive.d.ts
*
* Copyright 2014, 2024 IBM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as i0 from "@angular/core";
/**
* A convenience directive for applying styling to a link. Get started with importing the module:
*
* ```typescript
* import { LinkModule } from 'carbon-components-angular';
* ```
*
* ```html
* <a href="#" cdsLink>A link</a>
* ```
*
* See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/link/code) for more detail.
*
* [See demo](../../?path=/story/components-link--basic)
*/
export declare class Link {
baseClass: boolean;
/**
* Automatically set to `-1` when link is disabled.
*/
tabindex: any;
/**
* Set to true to show links inline in a sentence or paragraph.
*/
inline: boolean;
/**
* Set to true to disable link.
*/
set disabled(disabled: boolean);
get disabled(): boolean;
private _disabled;
static ɵfac: i0.ɵɵFactoryDeclaration<Link, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<Link, "[cdsLink], [ibmLink]", never, { "inline": "inline"; "disabled": "disabled"; }, {}, never, never, false>;
}