Files
2018-09-14 18:47:00 +02:00

27 lines
469 B
TypeScript

import { Component, ComponentInterface, Prop } from '@stencil/core';
@Component({
tag: 'ion-grid',
styleUrl: 'grid.scss',
shadow: true
})
export class Grid implements ComponentInterface {
/**
* If true, the grid will have a fixed width based on the screen size. Defaults to `false`.
*/
@Prop() fixed = false;
hostData() {
return {
class: {
'grid-fixed': this.fixed
}
};
}
render() {
return <slot></slot>;
}
}