File

src/input/text-area.directive.ts

Description

A directive for applying styling to a textarea element.

Example:

<textarea ibmTextArea></textarea>

See the vanilla carbon docs for more detail.

Metadata

selector [ibmTextArea]

Index

HostBindings

HostBindings

class.bx--text-area
class.bx--text-area:
Default value : true
import { Directive, HostBinding } from "@angular/core";

/**
 * A directive for applying styling to a textarea element.
 *
 * Example:
 *
 * ```html
 * <textarea ibmTextArea></textarea>
 * ```
 *
 * See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.
 */
@Directive({
	selector: "[ibmTextArea]"
})
export class TextArea {
	@HostBinding("class.bx--text-area") baseClass = true;
}

results matching ""

    No results matching ""