GithubHelp home page GithubHelp logo

x-tag / appbar Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 7.0 509 KB

An Appbar lives at the top of your web application and contains a header, subheader and basic styles

JavaScript 97.01% CSS 1.81% HTML 1.18%

appbar's Introduction

X-Tag Components

Get the latest X-Tag core library and components.

Included Components:

More components are available on Bower.

  $ bower search x-tag

Developers

Build

This distributable files under ./dist/ are generated by running the following commands

  # Install npm dependencies.  Bower, Grunt and grunt tasks.
  $ npm install

  # Downloads all packages listed under 'dependencies' in bower.json to
  # ./components/ directory.
  $ bower install

  # Concats together the downloaded X-Tags from ./components and places
  # the results in ./dist/
  $ grunt build

Custom Build

If you would like to make a custom build you can do so by modifying the packages listed in the bower.json file and rerunning the commands above.

appbar's People

Contributors

csuwildcat avatar ldoubleuz avatar pennyfx avatar potch avatar sole avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

appbar's Issues

Enhancement: V2 update

I want to do a v2 update to this element, but I don't quite understand if the stylesheet in the demo needs to be updated.

Status: Needs attention

autousing the innerHTML if heading attribute not present?

I tried to use <x-appbar> in a naive way and just did something like

<x-appbar>hey</x-appbar>

but it didn't work properly (putting the text into <h1>) until I did this:

<x-appbar heading="hey"></x-appbar>

I wonder what do you think of just having x-appbar be more... HTMLish and use the child content if a heading is not specified.

Unknown <x-action> elements used in appbar example

I have tried to locate where these are defined but I'm failing quite miserably. Are them supposed to be "better" than a button (more semantic, awesomer in general) or is this a leftover of previous iterations?

See:

<x-action>=</x-action>

and
<x-action>=</x-action>

I'm trying to update the docs for appbar so they are consistent with the docs in Brick and the docs in its own demo page, so I can replace these with buttons if you're OK with this change.

No demo?

Seems like you should have a working/live demo for this.

Bower stylus compilation error (cannot find mixins)

Having a Brunch project with Bower, and after adding "x-tag-appbar": "0.2.11" to dependencies in bower.json, I get this error when launching node_modules/.bin/brunch watch --server:

17 Mar 22:40:10 - error: Compiling of 'bower_components/x-tag-appbar/src/appbar.styl' failed. bower_components/x-tag-appbar/src/appbar.styl:1
 > 1| @import 'mixins'
   2| @import 'params'
   3| 
   4| x-appbar {

failed to locate @import file mixins.styl

Enhancement: Demo update

Couldn't set the demo up on the GH page on my repo, I'm cloning currently and am going to install need package and bower dependencies.

Enable demo to be preview-able on GH pages.

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.