MCPcopy Index your code
hub / github.com/textAngular/textAngular / oneEvent

Function oneEvent

src/main.js:30–34  ·  view source on GitHub ↗
(_element, event, action)

Source from the content-addressed store, hash-verified

28 scope._name = (attrs.name) ? attrs.name : 'textAngularEditor' + _serial;
29
30 var oneEvent = function(_element, event, action){
31 $timeout(function(){
32 _element.one(event, action);
33 }, 100);
34 };
35 _taExecCommand = taExecCommand(attrs.taDefaultWrap);
36 // get the settings from the defaults and add our specific functions that need to be on the scope
37 angular.extend(scope, angular.copy(taOptions), {

Callers 1

main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected