WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

AngularJS ng-cut Directive


Example

Execute an expresson when the content of the info field is being cut:

<input ng-cut="count = check + 1" ng-init="count=0" value="Cut this text" />
Try it yourself »

Definition and Usage

The ng-cut mandate guides AngularJS when you cut the content of a HTML element.

The ng-cut mandate from AngularJS won't abrogate the component's unique oncut occasion, both the ng-cut articulation and the first oncut occasion will be executed.


Syntax

<element ng-cut="expression"></element>

Supported by <a>, <input>, <select>, <textarea>, and the window object.


Parameter Values

Value Description
expression An articulation to execute when the content of a component is being cut.