@semantic-ui/core
Advanced tools
Comparing version 0.0.11 to 0.0.12
{ | ||
"name": "@semantic-ui/core", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"title": "Semantic UI Next", | ||
@@ -5,0 +5,0 @@ "description": "Semantic empowers designers and developers by creating a shared vocabulary for UI.", |
@@ -7,4 +7,8 @@ import { createComponent } from '@semantic-ui/component'; | ||
const createInstance = ({settings}) => ({ | ||
const createInstance = ({settings, dispatchEvent}) => ({ | ||
setValue(value) { | ||
settings.value = value; | ||
dispatchEvent('change', value); | ||
} | ||
@@ -21,4 +25,4 @@ }); | ||
const events = { | ||
'click menu-item'({event, settings, tpl}) { | ||
settings.value = this.id; | ||
'click menu-item'({tpl, data}) { | ||
tpl.setValue(data.id); | ||
} | ||
@@ -25,0 +29,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5428603
20589