Javatpoint Logo
Javatpoint Logo

AngularJS ng-cut Directive

The AnglarJS ng-cut directive specifies the custom behavior of AnglarJS when the text of the input field is being cut. It doesn?t override the element's original oncut event; both the ng-cut expression and the original oncut event will be executed.

It is supported by HTML tags like < a >, < input >, < select >, < textarea >, and the window object.


Parameter explanation:

expression: It specifies an expression that is executed when the text of an element is being cut.

Let's take an example to demonstrate ng-ct directive.

See this example:

Test it Now

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA