Git Product home page Git Product logo

px-view's Introduction

Px-View

Overview

Px-View is a Predix Experience ('Px') component

Getting Started

From the component's directory...

$ npm install
$ bower install
$ grunt sass

API and examples

From the component's directory

$ grunt depserve

Starts a local server. Navigate to the root of that server (e.g. http://localhost:8080/) in a browser to open the API documentation page, with link to the "Demo" / working examples.

LiveReload

By default grunt depserve is configured to enable LiveReload and will be watching for modifications in your root directory as well as /css.

Your browser will also need to have the LiveReload extension installed and enabled. For instructions on how to do this please refer to livereload.com/extensions/.

Add, remove, modify file system patterns specified in the depserve.options.livereload array in your Gruntfile.js

This is an example depserve configuration:

depserve: {
    options: {
        open: '<%= depserveOpenUrl %>,
        livereload: [__dirname + "/js", __dirname + "/css", __dirname]
    }
}

Disable LiveReload by removing the livereload key from the configuration object.

DevMode

From the component's directory run:

$ grunt devmode

Starts a local server exactly the same as if you had run grunt depserve however in addition it also runs grunt watch concurrently which will execute commands on file change according to the specified matching patterns.

This is an example grunt watch configuration which watches for changes to SASS files, then on changes executes SASS compilation and automatic prefixing:

watch: {
    sass: {
        files: ['sass/**/*.scss'],
        tasks: ['sass', 'autoprefixer'],
        options: {
            interrupt: true
        }
    }
}

Options

Does this component have runtime configuration options? If so, they should be able to be passed as attributes on the element with examples shown below.

Function calls

What is the public API of this component?

Extending styles

Documented CSS extension points?

Extending behavior

See Polymer composition patterns

GE Coding Style Guide

GE JS Developer's Guide

Known Issues

px-view's People

Contributors

ek avatar yashdoshi89 avatar mdwragg avatar gedesigntech avatar garryyao avatar runn-vermel avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.