Add module names for the typedoc, make it work

Mark members with @private for typedoc.
This commit is contained in:
Panayot Cankov
2017-04-19 13:39:17 +03:00
parent c59077161f
commit d098ff43f5
101 changed files with 647 additions and 186 deletions

View File

@@ -1,4 +1,8 @@
import { ViewBase } from "../view-base";
/**
* @module "ui/core/bindable"
*/ /** */
import { ViewBase } from "../view-base";
import { Observable, WrappedValue, PropertyChangeData, EventData } from "../../../data/observable";
import { isEnabled as traceEnabled, write as traceWrite, categories as traceCategories, notifyEvent as traceNotifyEvent, messageType as traceMessageType, isCategorySet } from "../../../trace";

View File

@@ -1,4 +1,8 @@
/**
* @module "ui/core/control-state-change"
*/ /** */
/**
* An utility class used for supporting styling infrastructure.
*/
export class ControlStateChangeListener {

View File

@@ -1,6 +1,9 @@
/**
* @module "ui/core/dependency-observable"
*
* Contains the DependencyObservable class, which represents an extended Observable object that uses Property instances for value backing mechanism.
*/
*/ /** */
import { Observable, EventData } from "../../../data/observable";
/**

View File

@@ -1,3 +1,7 @@
/**
* @module "ui/core/properties"
*/ /** */
import { ViewBase } from "../view-base";
import { Style } from "../../styling/style";

View File

@@ -1,3 +1,7 @@
/**
* @module "ui/core/view-base"
*/ /** */
import { Property, InheritedProperty, Style } from "../properties";
import { BindingOptions, Observable } from "../bindable";
@@ -60,13 +64,37 @@ export abstract class ViewBase extends Observable {
alignSelf: AlignSelf;
//@private
/**
* @private
*/
_oldLeft: number;
/**
* @private
*/
_oldTop: number;
/**
* @private
*/
_oldRight: number;
/**
* @private
*/
_oldBottom: number;
/**
* @private
*/
_defaultPaddingTop: number;
/**
* @private
*/
_defaultPaddingRight: number;
/**
* @private
*/
_defaultPaddingBottom: number;
/**
* @private
*/
_defaultPaddingLeft: number;
//@endprivate

View File

@@ -1,3 +1,7 @@
/**
* @module "ui/core/view"
*/ /** */
///<reference path="../../../tns-core-modules.d.ts" /> Include global typings
import { ViewBase, Property, EventData, Color } from "../view-base";
import { Animation, AnimationDefinition, AnimationPromise } from "../../animation";
@@ -472,37 +476,65 @@ export abstract class View extends ViewBase implements ApplyXmlAttributes {
public eachChildView(callback: (view: View) => boolean): void;
//@private
/**
* @private
*/
isLayoutRequired: boolean;
/**
* @private
*/
_gestureObservers: any;
/**
* @private
*/
_setNativeClipToBounds(): void;
/**
* @private
*/
_updateLayout(): void;
/**
* Called by measure method to cache measureSpecs.
* @private
*/
_setCurrentMeasureSpecs(widthMeasureSpec: number, heightMeasureSpec: number): boolean;
/**
* Called by layout method to cache view bounds.
* @private
*/
_setCurrentLayoutBounds(left: number, top: number, right: number, bottom: number): void;
/**
* Return view bounds.
* @private
*/
_getCurrentLayoutBounds(): { left: number; top: number; right: number; bottom: number };
/**
* @private
*/
_goToVisualState(state: string);
/**
* @private
*/
_setNativeViewFrame(nativeView: any, frame: any): void;
// _onStylePropertyChanged(property: dependencyObservable.Property): void;
/**
* @private
*/
_updateEffectiveLayoutValues(parent: View): void;
/**
* @private
*/
_currentWidthMeasureSpec: number;
/**
* @private
*/
_currentHeightMeasureSpec: number;
/**
* @private
*/
_setMinWidthNative(value: Length): void;
/**
* @private
*/
_setMinHeightNative(value: Length): void;
//@endprivate
@@ -522,8 +554,17 @@ export abstract class View extends ViewBase implements ApplyXmlAttributes {
*/
export class CustomLayoutView extends View {
//@private
/**
* @private
*/
_updateNativeLayoutParams(child: View): void;
/**
* @private
*/
_setChildMinWidthNative(child: View): void;
/**
* @private
*/
_setChildMinHeightNative(child: View): void;
//@endprivate
}

View File

@@ -1,3 +1,7 @@
/**
* @module "ui/core/weak-event-listener"
*/ /** */
import { Observable, EventData } from "../../../data/observable";
/**