From 7a19a80af205840b259957f5b233a9acec143137 Mon Sep 17 00:00:00 2001 From: Brian Ford Date: Mon, 3 Mar 2014 12:32:51 -0800 Subject: docs(guide/css-styling): rename and fix formatting --- docs/content/guide/css-styling.ngdoc | 31 ++++++++++++++++++++++ .../guide/dev_guide.templates.css-styling.ngdoc | 31 ---------------------- 2 files changed, 31 insertions(+), 31 deletions(-) create mode 100644 docs/content/guide/css-styling.ngdoc delete mode 100644 docs/content/guide/dev_guide.templates.css-styling.ngdoc (limited to 'docs/content/guide') diff --git a/docs/content/guide/css-styling.ngdoc b/docs/content/guide/css-styling.ngdoc new file mode 100644 index 00000000..3ca7a00d --- /dev/null +++ b/docs/content/guide/css-styling.ngdoc @@ -0,0 +1,31 @@ +@ngdoc overview +@name Working With CSS +@description + + +Angular sets these CSS classes. It is up to your application to provide useful styling. + +# CSS classes used by angular + +* `ng-scope` + - **Usage:** angular applies this class to any element that where a new {@link ng.$rootScope.Scope scope} + is defined. (see {@link guide/scope scope} guide for more information about scopes) + +* `ng-binding` + - **Usage:** angular applies this class to any element that is attached to a data binding, via `ng-bind` or + `{{}}` curly braces, for example. (see {@link guide/databinding databinding} guide) + +* `ng-invalid`, `ng-valid` + - **Usage:** angular applies this class to an input widget element if that element's input does + not pass validation. (see {@link ng.directive:input input} directive) + +* `ng-pristine`, `ng-dirty` + - **Usage:** angular {@link ng.directive:input input} directive applies `ng-pristine` class + to a new input widget element which did not have user interaction. Once the user interacts with + the input widget the class is changed to `ng-dirty`. + + +## Related Topics + +* {@link guide/templates Angular Templates} +* {@link guide/forms Angular Forms} diff --git a/docs/content/guide/dev_guide.templates.css-styling.ngdoc b/docs/content/guide/dev_guide.templates.css-styling.ngdoc deleted file mode 100644 index b5a3608e..00000000 --- a/docs/content/guide/dev_guide.templates.css-styling.ngdoc +++ /dev/null @@ -1,31 +0,0 @@ -@ngdoc overview -@name Templates: Working With CSS in Angular -@description - - -Angular sets these CSS classes. It is up to your application to provide useful styling. - -# CSS classes used by angular - -* `ng-scope` - - **Usage:** angular applies this class to any element that where a new {@link ng.$rootScope.Scope scope} - is defined. (see {@link guide/scope scope} guide for more information about scopes) - -* `ng-binding` - - **Usage:** angular applies this class to any element that is attached to a data binding, via `ng-bind` or - `{{}}` curly braces, for example. (see {@link guide/databinding databinding} guide) - -* `ng-invalid`, `ng-valid` - - **Usage:** angular applies this class to an input widget element if that element's input does - not pass validation. (see {@link ng.directive:input input} directive) - -* `ng-pristine`, `ng-dirty` - - **Usage:** angular {@link ng.directive:input input} directive applies `ng-pristine` class - to a new input widget element which did not have user interaction. Once the user interacts with - the input widget the class is changed to `ng-dirty`. - - -## Related Topics - -* {@link guide/templates Angular Templates} -* {@link guide/forms Angular Forms} -- cgit v1.2.3