Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
org.webjars.bowergithub.brightspaceui:text-input
Advanced tools
Polymer-based web component for D2L text inputs.
For further information on this and other Brightspace UI components, see the docs at ui.developers.brightspace.com.
d2l-text-input
can be installed from Bower:
bower install d2l-text-input
Include the webcomponents.js "lite" polyfill (for browsers who don't natively support web components), then import the component as needed:
<head>
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../d2l-text-input/d2l-text-input.html">
</head>
Then use the <d2l-text-input>
custom element in your application.
<d2l-text-input name="myInput" value="input value"></d2l-text-input>
Many of the same attributes from native <input type="text">
are available:
<d2l-text-input disabled></d2l-text-input>
After cloning the repo, run npm install
to install dependencies.
If you don't have it already, install the Polymer CLI globally:
npm install -g polymer-cli
To start a local web server that hosts the demo page and tests:
polymer serve
To lint (eslint and Polymer lint):
npm run test:lint
To run unit tests locally using Polymer test:
polymer test --skip-plugin sauce
To lint AND run local unit tests:
npm test
FAQs
WebJar for d2l-text-input
We found that org.webjars.bowergithub.brightspaceui:text-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.