fix(angular): module exports

This commit is contained in:
Manu Mtz.-Almeida
2018-03-30 21:52:29 +02:00
parent b35f95a4d8
commit cece447092
40 changed files with 657 additions and 996 deletions

View File

@@ -95,6 +95,7 @@ import {
import {
AnimationBuilder as AnimationBuilder3,
ComponentProps as ComponentProps2,
ComponentRef as ComponentRef2,
FrameworkDelegate as FrameworkDelegate2,
} from '.';
import {
@@ -5759,7 +5760,7 @@ declare global {
/**
* The component to display inside of the tab.
*/
'component': any;
'component': ComponentRef;
'delegate': FrameworkDelegate;
/**
* If true, the user cannot interact with the tab. Defaults to `false`.
@@ -5826,7 +5827,7 @@ declare global {
/**
* The component to display inside of the tab.
*/
'component'?: any;
'component'?: ComponentRef;
'delegate'?: FrameworkDelegate;
/**
* If true, the user cannot interact with the tab. Defaults to `false`.

View File

@@ -1,27 +0,0 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="UTF-8">
<title>Page - Basic</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<script src="/dist/ionic.js"></script>
</head>
<body>
<ion-app>
<ion-header>
<ion-toolbar>
<ion-title>Page - Basic</ion-title>
</ion-toolbar>
</ion-header>
<ion-content padding>
Ion Page Content
</ion-content>
</ion-app>
</body>
</html>

View File

@@ -1,38 +0,0 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="UTF-8">
<title>Page - Host Element</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<script src="/dist/ionic.js"></script>
<script>
class PageOne extends HTMLElement {
connectedCallback() {
this.innerHTML = `
<ion-header>
<ion-toolbar>
<ion-title>Page One</ion-title>
</ion-toolbar>
</ion-header>
<ion-content padding>
Content for the host element
</ion-content>
`;
}
}
customElements.define('page-one', PageOne);
</script>
</head>
<body>
<ion-app>
<page-one></page-one>
</ion-app>
</body>
</html>

View File

@@ -1,25 +0,0 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="UTF-8">
<title>Page - no-ion-app</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<script src="/dist/ionic.js"></script>
</head>
<body>
<div style="height: 300px">
<ion-header>
<ion-toolbar>
<ion-title>Page - No Ion App Basic</ion-title>
</ion-toolbar>
</ion-header>
<ion-content padding>
Ion Page Content
</ion-content>
</body>
</html>

View File

@@ -1,38 +0,0 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="UTF-8">
<title>Page - No Ion App Host Element</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<script src="/dist/ionic.js"></script>
<script>
class PageOne extends HTMLElement {
connectedCallback() {
this.innerHTML = `
<ion-header>
<ion-toolbar>
<ion-title>No Ion App Page One</ion-title>
</ion-toolbar>
</ion-header>
<ion-content padding>
Content for the host element
</ion-content>
`;
}
}
customElements.define('page-one', PageOne);
</script>
</head>
<body>
<div style="height: 300px">
<page-one></page-one>
</div>
</body>
</html>

View File

@@ -1,27 +0,0 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="UTF-8">
<title>Page</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<script src="/dist/ionic.js"></script>
</head>
<body>
<ion-app>
<ion-header>
<ion-toolbar>
<ion-title>Page</ion-title>
</ion-toolbar>
</ion-header>
<ion-content padding>
Ion Page Content
</ion-content>
</ion-app>
</body>
</html>

View File

@@ -62,7 +62,7 @@ string
#### component
any
The component to display inside of the tab.
@@ -156,7 +156,7 @@ string
#### component
any
The component to display inside of the tab.

View File

@@ -1,5 +1,6 @@
import { Build, Component, Element, Event, EventEmitter, Method, Prop, State, Watch } from '@stencil/core';
import { FrameworkDelegate, attachComponent } from '../../utils/framework-delegate';
import { ComponentRef } from '../..';
@Component({
tag: 'ion-tab'
@@ -44,7 +45,7 @@ export class Tab {
/**
* The component to display inside of the tab.
*/
@Prop() component: any;
@Prop() component: ComponentRef;
/**
* The name of the tab.

View File

@@ -1,11 +0,0 @@
# ion-utils
<!-- Auto Generated Below -->
----------------------------------------------
*Built by [StencilJS](https://stenciljs.com/)*